Merge branch 'master' into feat/steiner #214
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: Stimulus | |
on: [push, pull_request] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
env: | |
STIMULUS_VERSION: "0.21.6" | |
steps: | |
# Use Clang for more informative error messages | |
- name: Install Clang | |
run: sudo apt-get install clang | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install stimulus | |
run: | | |
cd interfaces | |
python3 -m venv .venv | |
.venv/bin/pip install 'git+https://github.com/igraph/stimulus.git@${{ env.STIMULUS_VERSION }}#egg=stimulus' | |
- name: Configure igraph | |
run: | | |
mkdir build && cd build | |
cmake .. | |
- name: Validate functions.yaml | |
run: | | |
cd interfaces | |
.venv/bin/stimulus -f functions.yaml -t types.yaml -l ci:validate -o test.cpp | |
clang++ -std=c++14 -c test.cpp -I ../include -I ../build/include |