-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (32 loc) · 975 Bytes
/
ci.yaml
File metadata and controls
32 lines (32 loc) · 975 Bytes
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
name: Continuous Integration
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: quay.io/centos/centos:stream9
env:
CXX: g++
CXXFLAGS: -Werror -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_DEBUG -pthread -fsanitize=address,undefined
LDFLAGS: -pthread -fsanitize=address,undefined
steps:
- name: Checkout git repository
uses: actions/checkout@v6
- name: Install dependencies
run: |
dnf -y install epel-release
dnf -y install diffutils gcc-toolset-12-gcc-c++ gcc-toolset-12-libasan-devel gcc-toolset-12-libubsan-devel make rubygem-asciidoctor
- name: Build manpages
run: make -j8 manpages
- name: Compile
run: |
source /opt/rh/gcc-toolset-12/enable
make -j8 test-compile
- name: Test
run: |
source /opt/rh/gcc-toolset-12/enable
make test