Add Linux CI regression test step (#13353)

This commit is contained in:
SoftFever
2026-04-26 10:28:00 +08:00
committed by GitHub
parent 82e7ee937f
commit fd951b4813

View File

@@ -400,6 +400,16 @@ jobs:
retention-days: 5 retention-days: 5
if-no-files-found: error if-no-files-found: error
- name: Run external slicer regression tests
if: runner.os == 'Linux'
timeout-minutes: 20
shell: bash
run: |
test_repo_dir="${{ runner.temp }}/orca-test-repo"
rm -rf "$test_repo_dir"
git clone --depth 1 https://github.com/OrcaSlicer/orca-test-repo.git "$test_repo_dir"
python3 "$test_repo_dir/run_test.py" "${{ github.workspace }}/build/package/bin/orca-slicer"
- name: Build orca_custom_preset_tests - name: Build orca_custom_preset_tests
if: github.ref == 'refs/heads/main' && runner.os == 'Linux' && !vars.SELF_HOSTED if: github.ref == 'refs/heads/main' && runner.os == 'Linux' && !vars.SELF_HOSTED
working-directory: ${{ github.workspace }}/build/src/Release working-directory: ${{ github.workspace }}/build/src/Release