Skip to content

Enhance: shell markdown #154

Enhance: shell markdown

Enhance: shell markdown #154

Workflow file for this run

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 }}