build: Switch to autocxx #11
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: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependancies | |
run: sudo apt-get install -y libboost-all-dev libgtest-dev | |
- name: make (compile and launch unit tests) | |
run: make | |
- name: make install | |
run: sudo make install | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: compare | |
path: ./build/release/compare | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: dragen-os | |
path: ./build/release/dragen-os |