releasing new version 0.6.1 #61
Workflow file for this run
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: Ubuntu 24.04 (gcc-13, clang-18) | |
on: [push, pull_request] | |
jobs: | |
ubuntu-build: | |
runs-on: ubuntu-24.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
compiler: [gcc, clang] | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: install dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y build-essential \ | |
cmake \ | |
ninja-build \ | |
git \ | |
libcurl4-openssl-dev \ | |
libevent-dev \ | |
ruby \ | |
libtbb-dev | |
cd ext/restinio | |
sudo gem install Mxx_ru | |
mxxruexternals | |
cd ../.. | |
- name: select compiler and configure with cmake | |
run: | | |
if [ "${{ matrix.compiler }}" == "gcc" ]; then | |
export CC=gcc | |
export CXX=g++ | |
elif [ "${{ matrix.compiler }}" == "clang" ]; then | |
export CC=clang | |
export CXX=clang++ | |
fi | |
cmake -G Ninja -S . -B build -DCMAKE_BUILD_TYPE=debug -DNOPCH=ON -DBINFUSE_TEST=OFF -DHIBP_TEST=ON | |
- name: build with cmake | |
run: | | |
cmake --build build |