-
Notifications
You must be signed in to change notification settings - Fork 84
43 lines (43 loc) · 1.19 KB
/
ci.yaml
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
39
40
41
42
43
name: "CI"
on:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: go build ./...
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: go test -c -tags=e2e ./test/...
build-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker build --build-arg=KUBERNETES_MINOR_VERSION=latest --file Dockerfile .
build-image-neuronx:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker build --file test/images/neuron/Dockerfile .
build-image-nvidia:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker build --file test/images/nvidia/Dockerfile .
build-image-nvidia-training:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker build --file test/images/nvidia-training/Dockerfile test/images/nvidia-training
build-image-nvidia-inference:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker build --file test/images/nvidia-inference/Dockerfile test/images/nvidia-inference