Files
PS2Recomp/.github/workflows/build.yml
T
Salman Chishti ea63da371b Upgrade GitHub Actions for Node 24 compatibility (#31)
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
2026-01-31 13:32:35 -03:00

47 lines
1.1 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@v3
with:
arch: ${{ matrix.arch }}
- name: Build
shell: cmd
run: |
cmake -B build
cmake --build build --config Release
- name: Tests
shell: cmd
continue-on-error: true # When tests start passing, this line should be removed.
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