mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 14:00:16 +02:00
Merge pull request #3094 from neobrain/refactor_reorder_ci
CI: Run tests with <30s runtime first
This commit is contained in:
2 files changed
+71
-71
No files matched your search
+47
-47
@@ -78,18 +78,6 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --build . --config $BUILD_TYPE --target install
|
run: cmake --build . --config $BUILD_TYPE --target install
|
||||||
|
|
||||||
- name: ASM Tests
|
|
||||||
working-directory: ${{runner.workspace}}/build
|
|
||||||
shell: bash
|
|
||||||
# Execute the unit tests
|
|
||||||
run: cmake --build . --config $BUILD_TYPE --target asm_tests
|
|
||||||
|
|
||||||
- name: ASM Test Results move
|
|
||||||
if: ${{ always() }}
|
|
||||||
shell: bash
|
|
||||||
working-directory: ${{runner.workspace}}/build
|
|
||||||
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_ASM.log || true
|
|
||||||
|
|
||||||
- name: IR Tests
|
- name: IR Tests
|
||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: ${{runner.workspace}}/build
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -102,30 +90,6 @@ jobs:
|
|||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: ${{runner.workspace}}/build
|
||||||
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_IR.log || true
|
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_IR.log || true
|
||||||
|
|
||||||
- name: Posix Tests
|
|
||||||
working-directory: ${{runner.workspace}}/build
|
|
||||||
shell: bash
|
|
||||||
# Execute the posixtest
|
|
||||||
run: cmake --build . --config $BUILD_TYPE --target posix_tests
|
|
||||||
|
|
||||||
- name: Posix Test Results move
|
|
||||||
if: ${{ always() }}
|
|
||||||
shell: bash
|
|
||||||
working-directory: ${{runner.workspace}}/build
|
|
||||||
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_Posix.log || true
|
|
||||||
|
|
||||||
- name: gvisor tests
|
|
||||||
working-directory: ${{runner.workspace}}/build
|
|
||||||
shell: bash
|
|
||||||
# Execute the gvisor tests
|
|
||||||
run: cmake --build . --config $BUILD_TYPE --target gvisor_tests
|
|
||||||
|
|
||||||
- name: GVisor Test Results move
|
|
||||||
if: ${{ always() }}
|
|
||||||
shell: bash
|
|
||||||
working-directory: ${{runner.workspace}}/build
|
|
||||||
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_GVisor.log || true
|
|
||||||
|
|
||||||
- name: gcc target tests 64
|
- name: gcc target tests 64
|
||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: ${{runner.workspace}}/build
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -150,17 +114,6 @@ jobs:
|
|||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: ${{runner.workspace}}/build
|
||||||
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_GCC32.log || true
|
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_GCC32.log || true
|
||||||
|
|
||||||
- name: Struct verifier tests
|
|
||||||
working-directory: ${{runner.workspace}}/build
|
|
||||||
shell: bash
|
|
||||||
run: cmake --build . --config $BUILD_TYPE --target struct_verifier
|
|
||||||
|
|
||||||
- name: Struct verifier Test Results move
|
|
||||||
if: ${{ always() }}
|
|
||||||
shell: bash
|
|
||||||
working-directory: ${{runner.workspace}}/build
|
|
||||||
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_StructVerifier.log || true
|
|
||||||
|
|
||||||
- name: APITest tests
|
- name: APITest tests
|
||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: ${{runner.workspace}}/build
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -244,6 +197,53 @@ jobs:
|
|||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: ${{runner.workspace}}/build
|
||||||
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_ThunkResults.log || true
|
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_ThunkResults.log || true
|
||||||
|
|
||||||
|
- name: ASM Tests
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
shell: bash
|
||||||
|
# Execute the unit tests
|
||||||
|
run: cmake --build . --config $BUILD_TYPE --target asm_tests
|
||||||
|
|
||||||
|
- name: ASM Test Results move
|
||||||
|
if: ${{ always() }}
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_ASM.log || true
|
||||||
|
|
||||||
|
- name: Posix Tests
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
shell: bash
|
||||||
|
# Execute the posixtest
|
||||||
|
run: cmake --build . --config $BUILD_TYPE --target posix_tests
|
||||||
|
|
||||||
|
- name: Posix Test Results move
|
||||||
|
if: ${{ always() }}
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_Posix.log || true
|
||||||
|
|
||||||
|
- name: gvisor tests
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
shell: bash
|
||||||
|
# Execute the gvisor tests
|
||||||
|
run: cmake --build . --config $BUILD_TYPE --target gvisor_tests
|
||||||
|
|
||||||
|
- name: GVisor Test Results move
|
||||||
|
if: ${{ always() }}
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_GVisor.log || true
|
||||||
|
|
||||||
|
- name: Struct verifier tests
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
shell: bash
|
||||||
|
run: cmake --build . --config $BUILD_TYPE --target struct_verifier
|
||||||
|
|
||||||
|
- name: Struct verifier Test Results move
|
||||||
|
if: ${{ always() }}
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_StructVerifier.log || true
|
||||||
|
|
||||||
- name: Truncate test results
|
- name: Truncate test results
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
@@ -86,18 +86,6 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --build . --config $BUILD_TYPE --target install
|
run: cmake --build . --config $BUILD_TYPE --target install
|
||||||
|
|
||||||
- name: ASM Tests
|
|
||||||
working-directory: ${{runner.workspace}}/build
|
|
||||||
shell: bash
|
|
||||||
# Execute the unit tests
|
|
||||||
run: cmake --build . --config $BUILD_TYPE --target asm_tests
|
|
||||||
|
|
||||||
- name: ASM Test Results move
|
|
||||||
if: ${{ always() }}
|
|
||||||
shell: bash
|
|
||||||
working-directory: ${{runner.workspace}}/build
|
|
||||||
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_ASM.log || true
|
|
||||||
|
|
||||||
- name: IR Tests
|
- name: IR Tests
|
||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: ${{runner.workspace}}/build
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -110,18 +98,6 @@ jobs:
|
|||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: ${{runner.workspace}}/build
|
||||||
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_IR.log || true
|
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_IR.log || true
|
||||||
|
|
||||||
- name: Posix Tests
|
|
||||||
working-directory: ${{runner.workspace}}/build
|
|
||||||
shell: bash
|
|
||||||
# Execute the posixtest
|
|
||||||
run: cmake --build . --config $BUILD_TYPE --target posix_tests
|
|
||||||
|
|
||||||
- name: Posix Test Results move
|
|
||||||
if: ${{ always() }}
|
|
||||||
shell: bash
|
|
||||||
working-directory: ${{runner.workspace}}/build
|
|
||||||
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_Posix.log || true
|
|
||||||
|
|
||||||
- name: gcc target tests 64
|
- name: gcc target tests 64
|
||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: ${{runner.workspace}}/build
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -179,6 +155,30 @@ jobs:
|
|||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: ${{runner.workspace}}/build
|
||||||
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_FEXLinuxTests.log || true
|
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_FEXLinuxTests.log || true
|
||||||
|
|
||||||
|
- name: ASM Tests
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
shell: bash
|
||||||
|
# Execute the unit tests
|
||||||
|
run: cmake --build . --config $BUILD_TYPE --target asm_tests
|
||||||
|
|
||||||
|
- name: ASM Test Results move
|
||||||
|
if: ${{ always() }}
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_ASM.log || true
|
||||||
|
|
||||||
|
- name: Posix Tests
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
shell: bash
|
||||||
|
# Execute the posixtest
|
||||||
|
run: cmake --build . --config $BUILD_TYPE --target posix_tests
|
||||||
|
|
||||||
|
- name: Posix Test Results move
|
||||||
|
if: ${{ always() }}
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
run: mv ${{runner.workspace}}/build/Testing/Temporary/LastTest.log ${{runner.workspace}}/build/Testing/Temporary/LastTest_Posix.log || true
|
||||||
|
|
||||||
- name: Truncate test results
|
- name: Truncate test results
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in new issue
Block a user