Enhance: shell markdown #155
Workflow file for this run
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 & Test GetIt | |
on: | |
push: | |
branches: | |
- main | |
- development | |
pull_request: | |
branches: | |
- main | |
- development | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install boost | |
run: sudo apt update && sudo apt install -yq libboost-all-dev | |
- name: Install Qt6 | |
run: sudo apt update && sudo apt install -yq build-essential libgl1-mesa-dev qt6-base-dev | |
- name: Install CMake | |
run: sudo apt update && sudo apt install -yq cmake | |
- name: Run CMake | |
run: cmake . | |
- name: Build GetIt | |
run: make GetIt | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install boost | |
run: sudo apt update && sudo apt install -yq libboost-all-dev | |
- name: Install Qt6 | |
run: sudo apt update && sudo apt install -yq build-essential libgl1-mesa-dev qt6-base-dev | |
- name: Install CMake | |
run: sudo apt update && sudo apt install -yq cmake | |
- name: Run CMake | |
run: cmake . -DCMAKE_CXX_FLAGS="--coverage" | |
- name: Build GetIt tests | |
run: make getit_tests | |
- name: Run tests | |
run: ./bin/getit_tests | |
- uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |