-
Notifications
You must be signed in to change notification settings - Fork 69
55 lines (54 loc) · 1.35 KB
/
build.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Docker Build
on:
push:
branches: [main, master]
pull_request:
jobs:
run-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Should not change anything
run: "./update.sh -g && [ -z \"$(git diff --stat)\" ]"
build-tagged:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- uses: actions/checkout@v4
- name: Build
run: "./build.sh -t"
- name: Test
run: "./test.sh"
build-5-7:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- uses: actions/checkout@v4
- name: Update to 5.7.0.25 (ubuntu20)
run: "./update.sh -s 5.7.0.25"
- name: Build
run: "./build.sh -t"
- name: Test
run: "./test.sh"
build-6-0:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- uses: actions/checkout@v4
- name: Update to 6.0.0.9 (no fed)
run: "./update.sh -s 6.0.0.9"
- name: Build
run: "./build.sh -t"
- name: Test
run: "./test.sh"