-
Notifications
You must be signed in to change notification settings - Fork 80
58 lines (54 loc) · 1.47 KB
/
push-test-debian.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
47
48
49
50
51
52
53
54
55
56
57
58
name: Debian
on: push
jobs:
test:
name: Unit Tests
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
debian:
- "bullseye" # 11
- "bookworm" # 12
- "trixie" # 13
compiler: [g++, clang]
container: debian:${{ matrix.debian }}-slim
steps:
- name: Install Dependencies
env:
DEBIAN_FRONTEND: noninteractive
run: |
apt-get update -qq
apt-get install \
-y \
-qq \
--no-install-recommends \
--no-install-suggests \
ca-certificates \
git \
${{ matrix.compiler }} \
libboost-dev \
libboost-filesystem-dev \
libboost-locale-dev \
libboost-regex-dev \
libboost-system-dev \
libcairo2-dev \
libglew-dev \
libglm-dev \
libsdl2-dev \
libsdl2-image-dev \
libsdl2-mixer-dev \
libsdl2-ttf-dev \
libvorbis-dev \
make
- name: Checkout Anura
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
with:
submodules: true
- name: Build Anura
env:
CXX: ${{ matrix.compiler }}
# Number of cores * 3
run: make -j "$(($(getconf _NPROCESSORS_ONLN) * 3))"
- name: Run Unit Tests
run: ./anura --tests