build #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: build | |
on: | |
push: | |
paths: | |
- "src/**" | |
- "test/**" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: egor-tensin/setup-clang@v1 | |
with: | |
version: latest | |
platform: x64 | |
- uses: ConorMacBride/install-package@v1 | |
with: | |
apt: doxygen gcc-11 g++-11 libboost-all-dev libeigen3-dev libgsl-dev libreadline-dev libyaml-cpp-dev python3-pip python3-pygetdata python3-pint | |
version: latest | |
platform: x64 | |
- run: | | |
pip install cogapp | |
- run: | | |
mkdir -p build | |
cd build | |
cmake .. | |
make | |
env: | |
CC: gcc-11 | |
CXX: g++-11 |