refactor nb_vertices into num_vertices #96
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: C/C++ CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install GCC 12 | |
run: sudo apt install -y gcc-12 g++-12 | |
- name: Install Conan 2.0 | |
run: pip install conan | |
- name: Autodetect a default conan profile | |
run: conan profile detect --name=default | |
- name: Modify the default conan profile | |
run: python .github/workflows/edit_conan_profile.py $(conan profile path default) settings.compiler=gcc settings.compiler.version=12 settings.compiler.cppstd=20 buildenv.CC=/usr/bin/gcc-12 buildenv.CXX=/usr/bin/g++-12 | |
- name: Build and run unit tests | |
run: make BUILD_TYPE=default |