-
Notifications
You must be signed in to change notification settings - Fork 2
92 lines (89 loc) · 2.4 KB
/
ci.yml
File metadata and controls
92 lines (89 loc) · 2.4 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
name: CI
on:
push:
branches:
- master
- for-master
tags:
- v*
jobs:
ubuntu_gcc_glibc_dynamic:
name: Tests on ubuntu (gcc / glibc / dynamic)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: prepare
run: |
sudo apt-get update
sudo apt-get install -y autoconf automake make
sudo apt-get install -y gcc
sudo apt-get install -y util-linux iproute2 socat file valgrind python3-pip python3-venv
- name: configure
run: |
./autogen.sh
env CC=gcc ./configure
- name: build
run: |
make V=1
ubuntu_clang_glibc_dynamic:
name: Tests on ubuntu (clang / glibc / dynamic)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: prepare
run: |
sudo apt-get update
sudo apt-get install -y autoconf automake make
sudo apt-get install -y clang
sudo apt-get install -y util-linux iproute2 socat file valgrind python3-pip python3-venv
- name: configure
run: |
./autogen.sh
env CC=clang ./configure
- name: build
run: |
make V=1
ubuntu_gcc_glibc_static:
name: Tests on ubuntu (gcc / glibc / static)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: prepare
run: |
sudo apt-get update
sudo apt-get install -y autoconf automake make
sudo apt-get install -y gcc
sudo apt-get install -y util-linux iproute2 socat file valgrind
- name: configure
run: |
./autogen.sh
env CC=gcc ./configure
- name: build
run: |
make V=1 LDFLAGS=-static
ubuntu_gcc_musl_static:
name: Tests on ubuntu (musl-gcc / musl / dynamic)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: prepare
run: |
sudo apt-get update
sudo apt-get install -y autoconf automake make
sudo apt-get install -y musl musl-dev musl-tools
sudo apt-get install -y util-linux iproute2 socat file valgrind
- name: configure
run: |
./autogen.sh
./configure --host=x86_64-linux-musl
- name: build
run: |
make V=1 CFLAGS+="-idirafter /usr/include/ -idirafter /usr/include/x86_64-linux-gnu/"