-
Notifications
You must be signed in to change notification settings - Fork 29
79 lines (58 loc) · 1.91 KB
/
build-test.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: Build Test
on: [push, pull_request]
jobs:
build-debian-testing:
name: Debian Testing
runs-on: ubuntu-latest
strategy:
matrix:
dc: [ldc, gdc]
steps:
- uses: actions/checkout@v3
- name: Create Build Environment
run: cd tests/ci/ && podman build -t asgen -f ./Dockerfile-debian-testing .
- name: Build & Test
continue-on-error: ${{ matrix.dc == 'gdc' }}
run: podman run -a stdout -a stderr -e DC=${{ matrix.dc }} -v `pwd`:/build asgen
./tests/ci/build-and-test.sh
build-debian-stable:
name: Debian Stable
runs-on: ubuntu-latest
strategy:
matrix:
dc: [ldc]
steps:
- uses: actions/checkout@v3
- name: Create Build Environment
run: cd tests/ci/ && podman build -t asgen -f ./Dockerfile-debian-stable .
- name: Build & Test
continue-on-error: ${{ matrix.dc == 'gdc' }}
run: podman run -a stdout -a stderr -e DC=${{ matrix.dc }} -v `pwd`:/build asgen
./tests/ci/build-and-test.sh
build-fedora-latest:
name: Fedora Latest
runs-on: ubuntu-latest
strategy:
matrix:
dc: [ldc, gdc]
steps:
- uses: actions/checkout@v3
- name: Create Build Environment
run: cd tests/ci/ && podman build -t asgen -f ./Dockerfile-fedora-latest .
- name: Build & Test
continue-on-error: ${{ matrix.dc == 'gdc' }}
run: podman run -a stdout -a stderr -e DC=${{ matrix.dc }} -v `pwd`:/build asgen
./tests/ci/build-and-test.sh
build-ubuntu-lts:
name: Ubuntu LTS
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Create Build Environment
run: sudo ./tests/ci/install-deps-deb.sh
- name: Update Meson
run: sudo pip3 install 'meson~=0.62'
- name: Make & Install 3rd-party
run: sudo ./tests/ci/ci-install-extern.sh
- name: Build & Test
run: DC=ldc2 ./tests/ci/build-and-test.sh