Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
Narsil committed Jun 7, 2024
1 parent 3684439 commit 3ee92eb
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions .github/workflows/ci_buid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,21 @@ on:
- 'main'

jobs:
version-matrix:
build-matrix:
strategy:
# super important if you want to see all results, even if one fails
# fail-fast is true by default
fail-fast: true
matrix:
hardware: ["cuda", "rocm", "intel"]
steps:
- name: Build
id: build
uses: ./.github/workflows/build.yml # calls the one above ^
with:
hardware: ${{ matrix.hardware }}
secrets: inherit
- name: Test
if: matrix.hardware == 'cuda'
uses: ./.github/workflows/integration_tests.yml # calls the one above ^
with:
docker_image: ${{ steps.build.outputs.docker_image }}
docker_devices: ${{ steps.build.outputs.docker_devices }}
secrets: inherit
uses: ./.github/workflows/build.yml # calls the one above ^
with:
hardware: ${{ matrix.hardware }}
secrets: inherit
integration_tests:
needs: build-matrix
uses: ./.github/workflows/integration_tests.yml # calls the one above ^
with:
docker_image: ${{ steps.build.outputs.docker_image }}
docker_devices: ${{ steps.build.outputs.docker_devices }}
secrets: inherit

0 comments on commit 3ee92eb

Please sign in to comment.