mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
Test cross-platform boot path handling
This commit is contained in:
@@ -31,6 +31,11 @@ jobs:
|
||||
- name: Build CLI package
|
||||
shell: msys2 {0}
|
||||
run: python tools/build_cli.py release
|
||||
- name: Test boot path handling
|
||||
shell: msys2 {0}
|
||||
run: |
|
||||
cmake --build recompiler/build-cli --target cli_boot_path_test --parallel 2
|
||||
ctest --test-dir recompiler/build-cli -R '^cli_boot_path_test$' --output-on-failure
|
||||
- name: Smoke test packaged CLI
|
||||
shell: msys2 {0}
|
||||
run: dist/psxrecomp-cli-windows-x86_64/psxrecomp.exe --help
|
||||
@@ -40,6 +45,21 @@ jobs:
|
||||
path: dist/psxrecomp-cli-*.zip
|
||||
if-no-files-found: error
|
||||
|
||||
linux-boot-path-test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Configure boot path test
|
||||
run: cmake -S recompiler -B recompiler/build-boot-path-test -DBUILD_TESTING=ON
|
||||
- name: Build boot path test
|
||||
run: cmake --build recompiler/build-boot-path-test --target cli_boot_path_test --parallel 2
|
||||
- name: Run boot path test
|
||||
run: >-
|
||||
ctest --test-dir recompiler/build-boot-path-test
|
||||
-R '^cli_boot_path_test$' --output-on-failure
|
||||
|
||||
publish-release-assets:
|
||||
if: github.event_name == 'release'
|
||||
needs: build
|
||||
|
||||
Reference in New Issue
Block a user