fix linux build #10
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-22.04 | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install deps | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y gcc-13 build-essential | |
- name: CMake set-up | |
run: | | |
export CXX=/usr/bin/g++-13 | |
cmake -DHMDF_TESTING=ON -DHMDF_EXAMPLES=ON -DHMDF_BENCHMARKS=ON -DCMAKE_BUILD_TYPE=Release . | |
- name: CMake build | |
run: cmake --build . --config Release --parallel $(nproc) | |
- name: CMake ctest | |
run: ctest -C Release |