CentOS Stream 9 #12
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: CentOS Stream | |
on: | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build-centos: | |
name: CentOS | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
container: quay.io/centos/centos:stream9 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Prepare | |
run: | | |
dnf install git make cmake gcc gcc-c++ binutils glibc-devel valgrind autoconf libtool bison automake libxml2-devel sudo which -y | |
- name: Configure & build | |
run: | | |
mkdir build | |
cd build | |
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON .. | |
cmake --build . | |
- name: Run tests | |
run: | | |
cd build | |
./test-defer | |
./test-exceptions | |
./test-cthread | |
./test-arena | |
./test-thrd_tls | |
./test-tls |