Skip to content

Remove some badges from README. #43

Remove some badges from README.

Remove some badges from README. #43

Workflow file for this run

# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: "build"
on:
push:
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
jobs:
linux:
name: linux
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
# Override automatic language detection by changing the below list
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
language: ['cpp']
# Learn more...
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
- run: git submodule update --init --recursive
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: '6.2.0'
- run: sudo apt install lcov
- name: Build and Test
run: |
cmake -DENABLE_COVERAGE=ON -DCMAKE_BUILD_TYPE=Debug .
make
ctest --output-on-failure --verbose
lcov --directory . --capture --output-file coverage.info
lcov --remove coverage.info '/usr/*' --output-file coverage.info
lcov --list coverage.info
- name: Codecov Upload
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true
windows:
name: windows
runs-on: windows-latest
strategy:
fail-fast: true
matrix:
language: ['cpp']
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
- run: git submodule update --init --recursive
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: '6.2.0'
- name: Enable developer command prompt
uses: ilammy/msvc-dev-cmd@v1
- name: Build and Test
run: |
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Relese .
nmake
ctest --output-on-failure --verbose
macos:
name: macos
runs-on: macos-latest
strategy:
fail-fast: true
matrix:
language: ['cpp']
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
- run: git submodule update --init --recursive
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: '6.2.0'
- name: Build and Test
run: |
cmake -DCMAKE_BUILD_TYPE=Relese .
make
ctest --output-on-failure --verbose