-
Notifications
You must be signed in to change notification settings - Fork 225
38 lines (36 loc) · 1.08 KB
/
docker-build-skip.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: "docker-build"
on:
pull_request:
paths-ignore:
- "docker/**"
- "!docker/README.md"
- ".github/workflows/docker-build.yml"
workflow_dispatch:
# Cancel outdated workflows if they are still running
concurrency:
group: docker-build-skip-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
docker-build:
name: Build and Install FlexFlow in a Docker Container
runs-on: ubuntu-20.04
strategy:
matrix:
gpu_backend: ["cuda", "hip_rocm"]
cuda_version: ["11.1", "11.2", "11.3", "11.5", "11.6","11.7", "11.8"]
exclude:
- gpu_backend: "hip_rocm"
cuda_version: "11.2"
- gpu_backend: "hip_rocm"
cuda_version: "11.3"
- gpu_backend: "hip_rocm"
cuda_version: "11.5"
- gpu_backend: "hip_rocm"
cuda_version: "11.6"
- gpu_backend: "hip_rocm"
cuda_version: "11.7"
- gpu_backend: "hip_rocm"
cuda_version: "11.8"
fail-fast: false
steps:
- run: 'echo "No docker-build required"'