Working on Github Actions

This commit is contained in:
Daniel Chappuis 2021-08-04 15:49:19 +02:00
parent 04a5dd0582
commit 0790c89490

View File

@ -68,6 +68,14 @@ jobs:
double_precision: false,
coverage: false
}
- {
name: "MacOS / Clang (Debug, Single Precision)",
os: macos-latest,
build_type: "Debug",
cc: "clang",
cxx: "clang++",
generators: "Ninja"
}
- {
name: "Code Coverage",
os: ubuntu-latest,
@ -94,10 +102,9 @@ jobs:
choco install ninja cmake
ninja --version
cmake --version
# cmd "${{ matrix.config.environment_script }}"
- name: Install dependencies on Linux
if: startsWith(matrix.config.name, 'Linux')
if: startsWith(matrix.config.os, 'ubuntu')
run: |
sudo apt-get update
sudo apt-get install ninja-build cmake
@ -159,6 +166,7 @@ jobs:
./build_hello_world/helloworld
- name: Upload coverage to Codecov
if: startsWith(matrix.config.name, 'Code Coverage')
uses: codecov/codecov-action@v2
with:
path_to_write_report: ./coverage/codecov_report.txt