Add suffix to manpage source files #89
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_DEBUG -pthread -fsanitize=address,undefined | |
LDFLAGS: -pthread -fsanitize=address,undefined | |
steps: | |
- name: Checkout git repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
echo "[buildroot] | |
name=CentOS Stream $releasever - Buildroot | |
baseurl=https://kojihub.stream.centos.org/kojifiles/repos/c9s-build/latest/x86_64 | |
enabled=1 | |
gpgcheck=0 | |
repo_gpgcheck=0" >> /etc/yum.repos.d/centos.repo | |
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 |