Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Improve stability #144

Merged
merged 1 commit into from
Jan 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/actions/f3d-superbuild/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,20 @@ runs:
${{ runner.os == 'Windows' && '-G Ninja' || null }}
${{ runner.os == 'macOS' && '-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15' || null }}

# Rerun the build as ispc can sometimes segfault on Windows
- name: Build
working-directory: ${{github.workspace}}/build
shell: bash
run: cmake --build . --config Release
run: cmake --build . --config Release || cmake --build . --config Release

# Rerun cpack as it can fail on macOS: https://github.com/actions/runner-images/issues/7522
- name: Package
working-directory: ${{github.workspace}}/build
shell: bash
run: |
cmake ./
ctest -R cpack -VV
ctest -R extract -VV
ctest -R cpack -VV || ctest --rerun-failed -VV
ctest -R extract -VV || ctest --rerun-failed -VV

- name: Clean install
working-directory: ${{github.workspace}}/build
Expand Down