Test cross-platform boot path handling

This commit is contained in:
Matthew Stanley
2026-07-22 12:25:06 -07:00
parent e8c8b2b964
commit 280330e63f
6 changed files with 125 additions and 19 deletions
+20
View File
@@ -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