-
-
Notifications
You must be signed in to change notification settings - Fork 105
46 lines (40 loc) · 1.38 KB
/
debian-builds.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
44
45
46
name: Debian build
on: push
jobs:
debian:
name: Debian
runs-on: ubuntu-latest
container:
image: debian:${{ matrix.distro }}
strategy:
matrix:
include:
- { distro: bookworm, CC: clang, CXX: clang++, PACKAGES: "clang" }
- { distro: bookworm, CC: clang-15, CXX: clang++-15, PACKAGES: "clang-15" }
- { distro: bookworm, CC: gcc, CXX: g++, PACKAGES: "build-essential" }
- { distro: trixie, CC: gcc, CXX: g++, PACKAGES: "build-essential" }
- { distro: trixie, CC: clang, CXX: clang++, PACKAGES: "clang" }
- { distro: trixie, CC: gcc-14, CXX: g++-14, PACKAGES: "gcc-14 g++-14" }
- { distro: trixie, CC: clang-17, CXX: clang++-17, PACKAGES: "clang-17" }
steps:
- name: Install git
run: |
apt-get update -qq
apt-get install -qq --force-yes git
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Dependencies
env:
CC: ${{ matrix.CC }}
CXX: ${{ matrix.CXX }}
PACKAGES: ${{ matrix.packages }}
run: |
./ci/${{ matrix.distro }}.deps.sh
- name: Build
env:
CC: ${{ matrix.CC }}
CXX: ${{ matrix.CXX }}
run: |
./ci/${{ matrix.distro }}.build.sh