Working on Github Actions
This commit is contained in:
parent
9ec054661c
commit
067c204a25
28
.github/workflows/build-and-test.yml
vendored
28
.github/workflows/build-and-test.yml
vendored
@ -158,26 +158,6 @@ jobs:
|
|||||||
double_precision: false,
|
double_precision: false,
|
||||||
coverage: false
|
coverage: false
|
||||||
}
|
}
|
||||||
- {
|
|
||||||
name: "MacOS / GCC (Debug, Single Precision)",
|
|
||||||
os: macos-latest,
|
|
||||||
build_type: "Debug",
|
|
||||||
cc: "gcc",
|
|
||||||
cxx: "g++",
|
|
||||||
generators: "Ninja",
|
|
||||||
double_precision: false,
|
|
||||||
coverage: false
|
|
||||||
}
|
|
||||||
- {
|
|
||||||
name: "MacOS / GCC (Release, Single Precision)",
|
|
||||||
os: macos-latest,
|
|
||||||
build_type: "Release",
|
|
||||||
cc: "gcc",
|
|
||||||
cxx: "g++",
|
|
||||||
generators: "Ninja",
|
|
||||||
double_precision: false,
|
|
||||||
coverage: false
|
|
||||||
}
|
|
||||||
- {
|
- {
|
||||||
name: "Code Coverage",
|
name: "Code Coverage",
|
||||||
os: ubuntu-latest,
|
os: ubuntu-latest,
|
||||||
@ -253,10 +233,16 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --install build/
|
run: cmake --install build/
|
||||||
|
|
||||||
- name: Unit Tests
|
- name: Unit Tests (Linux / MacOS)
|
||||||
|
if: ${{ !startsWith(matrix.config.os, 'windows') }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: ./build/test/tests
|
run: ./build/test/tests
|
||||||
|
|
||||||
|
- name: Unit Tests (Wndows)
|
||||||
|
if: ${{ startsWith(matrix.config.os, 'windows') }}
|
||||||
|
shell: bash
|
||||||
|
run: "./build/test/${{ matrix.config.build_type }}/tests.exe"
|
||||||
|
|
||||||
- name: Build and Run Hello World
|
- name: Build and Run Hello World
|
||||||
if: ${{ !matrix.config.coverage }}
|
if: ${{ !matrix.config.coverage }}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Loading…
Reference in New Issue
Block a user