Added basic CI #4
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: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: seanmiddleditch/gha-setup-ninja@master | |
- name: setup | |
run: sudo apt-get install ninja-build | |
- name: build | |
run: | | |
echo "Building project..." | |
mkdir build && cd build | |
cmake .. -GNinja | |
- name: graph_gtests | |
run: ninja graph_tests_gtest | |