Enabling CI for AMD with new runner.. #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI build | ||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
tags: | ||
- 'v*' | ||
pull_request: | ||
paths: | ||
- ".github/workflows/build.yaml" | ||
- "integration-tests/**" | ||
- "server/**" | ||
- "proto/**" | ||
- "router/**" | ||
- "launcher/**" | ||
- "Cargo.lock" | ||
- "rust-toolchain.toml" | ||
- "Dockerfile" | ||
- "Dockerfile_amd" | ||
- "Dockerfile_intel" | ||
branches: | ||
- 'main' | ||
jobs: | ||
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"] | ||
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 ^ | ||
Check failure on line 39 in .github/workflows/ci_buid.yml GitHub Actions / .github/workflows/ci_buid.ymlInvalid workflow file
|
||
with: | ||
docker_image: ${{ steps.build.outputs.docker_image }} | ||
docker_devices: ${{ steps.build.outputs.docker_devices }} | ||
secrets: inherit |