forked from baresip/re
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (36 loc) · 870 Bytes
/
fedora.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
41
42
43
44
name: Fedora
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
container: fedora
strategy:
matrix:
compiler: [clang]
os: [ubuntu-latest]
env:
CC: ${{ matrix.compiler }}
CMAKE_GENERATOR: Ninja
steps:
- uses: actions/checkout@v4
- name: install devel tools
run: |
yum -y install gcc clang cmake make openssl-devel zlib-devel ninja-build
- name: make info
run: |
echo "OS: ${{ matrix.os }}"
echo "--- ${{ matrix.compiler }} DEBUG VERSION ---"
${{ matrix.compiler }} - --version
cmake --version
- name: make
run: |
cmake -B build -DCMAKE_C_FLAGS="-Werror" && cmake --build build -j 16 -t retest
- name: retest
run: |
./build/test/retest -r -v