This commit is contained in:
parent
3684439a0e
commit
3ee92eb614
|
@ -23,22 +23,19 @@ on:
|
||||||
- 'main'
|
- 'main'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
version-matrix:
|
build-matrix:
|
||||||
strategy:
|
strategy:
|
||||||
# super important if you want to see all results, even if one fails
|
# super important if you want to see all results, even if one fails
|
||||||
# fail-fast is true by default
|
# fail-fast is true by default
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
hardware: ["cuda", "rocm", "intel"]
|
hardware: ["cuda", "rocm", "intel"]
|
||||||
steps:
|
|
||||||
- name: Build
|
|
||||||
id: build
|
|
||||||
uses: ./.github/workflows/build.yml # calls the one above ^
|
uses: ./.github/workflows/build.yml # calls the one above ^
|
||||||
with:
|
with:
|
||||||
hardware: ${{ matrix.hardware }}
|
hardware: ${{ matrix.hardware }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
- name: Test
|
integration_tests:
|
||||||
if: matrix.hardware == 'cuda'
|
needs: build-matrix
|
||||||
uses: ./.github/workflows/integration_tests.yml # calls the one above ^
|
uses: ./.github/workflows/integration_tests.yml # calls the one above ^
|
||||||
with:
|
with:
|
||||||
docker_image: ${{ steps.build.outputs.docker_image }}
|
docker_image: ${{ steps.build.outputs.docker_image }}
|
||||||
|
|
Loading…
Reference in New Issue