Debian Codegraph @

.forgejo/workflows/test.yml

raw symbols SCIP
1 name: test
2 on: pull_request
3 jobs:
4 debian:
5 runs-on: docker
6 container:
7 image: codeberg.org/dns-oarc/ci-images/debian
8 steps:
9 - uses: actions/checkout@v5
10 with:
11 submodules: true
12 ssh-key: ${{ vars.readonlykey }}
13 - name: install dependencies
14 run: |
15 apt-get install -y libtinyframe-dev protobuf-c-compiler libprotobuf-c-dev libuv1-dev
16 - name: configure
17 run: |
18 sh autogen.sh
19 mkdir -p build
20 cd build
21 ../configure --enable-warn-all
22 - name: dist
23 run: |
24 cd build
25 make dist
26 tar zxvf dnswire-*.tar.gz
27 cd dnswire-*[0-9]
28 mkdir -p build
29 cd build
30 ../configure --enable-warn-all
31 - name: make
32 run: |
33 cd build/dnswire-*[0-9]/build
34 make all test
35
36 ubuntu:
37 runs-on: docker
38 container:
39 image: codeberg.org/dns-oarc/ci-images/ubuntu
40 steps:
41 - uses: actions/checkout@v5
42 with:
43 submodules: true
44 ssh-key: ${{ vars.readonlykey }}
45 - name: install dependencies
46 run: |
47 apt-get install -y libtinyframe-dev protobuf-c-compiler libprotobuf-c-dev libuv1-dev
48 - name: configure
49 run: |
50 sh autogen.sh
51 mkdir -p build
52 cd build
53 ../configure --enable-warn-all
54 - name: dist
55 run: |
56 cd build
57 make dist
58 tar zxvf dnswire-*.tar.gz
59 cd dnswire-*[0-9]
60 mkdir -p build
61 cd build
62 ../configure --enable-warn-all
63 - name: make
64 run: |
65 cd build/dnswire-*[0-9]/build
66 make all test
67
68 centos:
69 runs-on: docker
70 container:
71 image: codeberg.org/dns-oarc/ci-images/centos
72 steps:
73 - uses: actions/checkout@v5
74 with:
75 submodules: true
76 ssh-key: ${{ vars.readonlykey }}
77 - name: install dependencies
78 run: |
79 dnf install -y tinyframe-devel protobuf-c-compiler protobuf-c-devel libuv-devel
80 - name: configure
81 run: |
82 sh autogen.sh
83 mkdir -p build
84 cd build
85 ../configure --enable-warn-all
86 - name: dist
87 run: |
88 cd build
89 make dist
90 tar zxvf dnswire-*.tar.gz
91 cd dnswire-*[0-9]
92 mkdir -p build
93 cd build
94 ../configure --enable-warn-all
95 - name: make
96 run: |
97 cd build/dnswire-*[0-9]/build
98 make all test
99
100 scan-build:
101 runs-on: docker
102 container:
103 image: codeberg.org/dns-oarc/ci-images/ubuntu
104 steps:
105 - uses: actions/checkout@v5
106 with:
107 submodules: true
108 ssh-key: ${{ vars.readonlykey }}
109 - name: install dependencies
110 run: |
111 apt-get install -y libtinyframe-dev protobuf-c-compiler libprotobuf-c-dev libuv1-dev
112 - name: configure
113 run: |
114 sh autogen.sh
115 mkdir -p build
116 cd build
117 ../configure --enable-warn-all
118 - name: scan-build
119 run: |
120 cd build
121 scan-build --status-bugs make all