mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Fixed workflow
This commit is contained in:
48
.github/workflows/continuous-integration-v2.yml
vendored
48
.github/workflows/continuous-integration-v2.yml
vendored
@@ -16,7 +16,7 @@ on:
|
|||||||
|
|
||||||
#CI workflows using the matrix strategy, skipping GDB if it's not supported for the platform
|
#CI workflows using the matrix strategy, skipping GDB if it's not supported for the platform
|
||||||
jobs:
|
jobs:
|
||||||
run-test-cases:
|
run-tests:
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -25,8 +25,8 @@ jobs:
|
|||||||
- { os: windows-latest, preinstall: , gdb_enabled: true }
|
- { os: windows-latest, preinstall: , gdb_enabled: true }
|
||||||
- { os: macos-latest, preinstall: , gdb_enabled: false }
|
- { os: macos-latest, preinstall: , gdb_enabled: false }
|
||||||
commands:
|
commands:
|
||||||
- { exec: make test-cases, gdb: false }
|
- { exec: make tests, gdb: false }
|
||||||
- { exec: make test-cases-gdb, gdb: true }
|
- { exec: make tests, gdb: true }
|
||||||
|
|
||||||
runs-on: ${{ matrix.platforms.os }}
|
runs-on: ${{ matrix.platforms.os }}
|
||||||
steps:
|
steps:
|
||||||
@@ -37,45 +37,3 @@ jobs:
|
|||||||
- name: run the tests
|
- name: run the tests
|
||||||
if: (matrix.commands.gdb == true && matrix.platforms.gdb_enabled == false) != true
|
if: (matrix.commands.gdb == true && matrix.platforms.gdb_enabled == false) != true
|
||||||
run: ${{ matrix.commands.exec }}
|
run: ${{ matrix.commands.exec }}
|
||||||
|
|
||||||
run-test-integrations:
|
|
||||||
needs: run-test-cases
|
|
||||||
continue-on-error: true
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
platforms:
|
|
||||||
- { os: ubuntu-latest, preinstall: sudo apt update && sudo apt install gdb, gdb_enabled: true }
|
|
||||||
- { os: windows-latest, preinstall: , gdb_enabled: true }
|
|
||||||
- { os: macos-latest, preinstall: , gdb_enabled: false }
|
|
||||||
commands:
|
|
||||||
- { exec: make test-integrations, gdb: false }
|
|
||||||
- { exec: make test-integrations-gdb, gdb: true }
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.platforms.os }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Preinstall dependencies
|
|
||||||
if: (matrix.commands.gdb == true && matrix.platforms.gdb_enabled == false) != true
|
|
||||||
run: ${{ matrix.platforms.preinstall }}
|
|
||||||
- name: run the tests
|
|
||||||
if: (matrix.commands.gdb == true && matrix.platforms.gdb_enabled == false) != true
|
|
||||||
run: ${{ matrix.commands.exec }}
|
|
||||||
|
|
||||||
run-test-valgrind:
|
|
||||||
needs: run-test-integrations
|
|
||||||
continue-on-error: true
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
platforms:
|
|
||||||
- { os: ubuntu-latest, preinstall: sudo apt update && sudo apt install valgrind }
|
|
||||||
commands:
|
|
||||||
- { exec: make tests-valgrind }
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.platforms.os }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Preinstall dependencies
|
|
||||||
run: ${{ matrix.platforms.preinstall }}
|
|
||||||
- name: run the tests
|
|
||||||
run: ${{ matrix.commands.exec }}
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user