2024-06-07 04:03:22 -06:00
|
|
|
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:
|
2024-06-07 07:39:37 -06:00
|
|
|
build:
|
2024-06-07 04:03:22 -06:00
|
|
|
strategy:
|
|
|
|
# super important if you want to see all results, even if one fails
|
|
|
|
# fail-fast is true by default
|
2024-06-07 14:45:57 -06:00
|
|
|
fail-fast: false
|
2024-06-07 04:03:22 -06:00
|
|
|
matrix:
|
|
|
|
hardware: ["cuda", "rocm", "intel"]
|
2024-06-07 07:03:01 -06:00
|
|
|
uses: ./.github/workflows/build.yaml # calls the one above ^
|
2024-06-07 06:15:45 -06:00
|
|
|
with:
|
|
|
|
hardware: ${{ matrix.hardware }}
|
|
|
|
secrets: inherit
|