-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (36 loc) · 986 Bytes
/
debian11.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
name: Debian 11 gcc-10.2
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Set up Docker
uses: docker/setup-buildx-action@v3
- name: Run Debian container
run: |
docker run --rm -v $(pwd):/workspace -w /workspace debian:11-slim /bin/bash -c "
apt-get update &&
apt install -y build-essential \
curl \
cmake \
ninja-build \
git \
libcurl4-openssl-dev \
libevent-dev \
ruby \
libtbb-dev &&
cd ext/restinio &&
gem install Mxx_ru &&
mxxruexternals &&
cd ../.. &&
cmake -G Ninja -S . -B build -DCMAKE_BUILD_TYPE=debug -DNOPCH=ON -DBINFUSE_TEST=OFF -DHIBP_TEST=ON &&
cmake --build build
"