mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 06:08:30 +09:00
[Debug] (workflow): checking inter-job artifact exchange
This commit is contained in:
@@ -92,12 +92,29 @@ jobs:
|
|||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
working-directory: ${{env.TEST_ROOT}}/build-ci/MobileGL/MG_Test
|
working-directory: ${{env.TEST_ROOT}}/build-ci/MobileGL/MG_Test
|
||||||
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ secrets.ACTIONS_STEP_DEBUG }}" == "true" ]; then
|
if [ "${{ secrets.ACTIONS_STEP_DEBUG }}" == "true" ]; then
|
||||||
ctest -V
|
ctest -V
|
||||||
else
|
else
|
||||||
ctest
|
ctest
|
||||||
fi
|
fi
|
||||||
|
echo "CTEST_EXIT=$?" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Rerun failed tests with output
|
||||||
|
if: always()
|
||||||
|
working-directory: ${{env.TEST_ROOT}}/build-ci/MobileGL/MG_Test
|
||||||
|
run: |
|
||||||
|
ctest --rerun-failed --output-on-failure || true
|
||||||
|
|
||||||
|
- name: Show LastTest.log
|
||||||
|
if: always()
|
||||||
|
run: |
|
||||||
|
cat "${{env.TEST_ROOT}}/build-ci/MobileGL/MG_Test/Testing/Temporary/LastTest.log" || true
|
||||||
|
|
||||||
|
- name: Fail if tests failed
|
||||||
|
if: ${{ env.CTEST_EXIT != '' && env.CTEST_EXIT != '0' }}
|
||||||
|
run: exit ${{ env.CTEST_EXIT }}
|
||||||
|
|
||||||
benchmark:
|
benchmark:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user