Files
PS2Recomp/.github/workflows/build.yml
T
2026-02-14 13:00:36 -03:00

46 lines
1.0 KiB
YAML

name: build
on: [push, pull_request]
jobs:
windows-msvc:
strategy:
fail-fast: false
matrix:
include:
- os: windows-latest
arch: x64
target_arch: x86_64
name: windows-msvc-${{ matrix.target_arch }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- uses: lukka/get-cmake@latest
- uses: TheMrMilchmann/setup-msvc-dev@v4
with:
arch: ${{ matrix.arch }}
- name: Build
shell: cmd
run: |
cmake -B build
cmake --build build --config Release
- name: Tests
shell: cmd
run: |
.\build\ps2xTest\Release\ps2x_tests.exe
- name: Upload artifact
uses: actions/upload-artifact@v6
with:
name: PS2Recomp - Windows
path: |
build/ps2xAnalyzer/Release/*.exe
build/ps2xRecomp/Release/*.exe
build/ps2xTest/Release/*.exe