Working on Github Actions
This commit is contained in:
parent
2ab7344bc6
commit
556e8009bc
82
.github/workflows/build-and-test.yml
vendored
82
.github/workflows/build-and-test.yml
vendored
@ -75,6 +75,8 @@ jobs:
|
|||||||
cc: "clang",
|
cc: "clang",
|
||||||
cxx: "clang++",
|
cxx: "clang++",
|
||||||
generators: "Ninja"
|
generators: "Ninja"
|
||||||
|
double_precision: false,
|
||||||
|
coverage: false
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
name: "Windows / MSVC (Debug, Single Precision)",
|
name: "Windows / MSVC (Debug, Single Precision)",
|
||||||
@ -83,6 +85,38 @@ jobs:
|
|||||||
cc: "cl",
|
cc: "cl",
|
||||||
cxx: "cl",
|
cxx: "cl",
|
||||||
generators: "Visual Studio 16 2019"
|
generators: "Visual Studio 16 2019"
|
||||||
|
double_precision: false,
|
||||||
|
coverage: false
|
||||||
|
}
|
||||||
|
- {
|
||||||
|
name: "Windows / MSVC (Release, Single Precision)",
|
||||||
|
os: windows-latest,
|
||||||
|
build_type: "Release",
|
||||||
|
cc: "cl",
|
||||||
|
cxx: "cl",
|
||||||
|
generators: "Visual Studio 16 2019"
|
||||||
|
double_precision: false,
|
||||||
|
coverage: false
|
||||||
|
}
|
||||||
|
- {
|
||||||
|
name: "Windows / MSVC (Debug, Double Precision)",
|
||||||
|
os: windows-latest,
|
||||||
|
build_type: "Debug",
|
||||||
|
cc: "cl",
|
||||||
|
cxx: "cl",
|
||||||
|
generators: "Visual Studio 16 2019"
|
||||||
|
double_precision: true,
|
||||||
|
coverage: false
|
||||||
|
}
|
||||||
|
- {
|
||||||
|
name: "Windows / MSVC (Release, Double Precision)",
|
||||||
|
os: windows-latest,
|
||||||
|
build_type: "Release",
|
||||||
|
cc: "cl",
|
||||||
|
cxx: "cl",
|
||||||
|
generators: "Visual Studio 16 2019"
|
||||||
|
double_precision: true,
|
||||||
|
coverage: false
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
name: "Windows / MinGW (Debug, Single Precision)",
|
name: "Windows / MinGW (Debug, Single Precision)",
|
||||||
@ -91,6 +125,38 @@ jobs:
|
|||||||
cc: "gcc",
|
cc: "gcc",
|
||||||
cxx: "g++",
|
cxx: "g++",
|
||||||
generators: "Ninja"
|
generators: "Ninja"
|
||||||
|
double_precision: false,
|
||||||
|
coverage: false
|
||||||
|
}
|
||||||
|
- {
|
||||||
|
name: "Windows / MinGW (Release, Single Precision)",
|
||||||
|
os: windows-latest,
|
||||||
|
build_type: "Release",
|
||||||
|
cc: "gcc",
|
||||||
|
cxx: "g++",
|
||||||
|
generators: "Ninja"
|
||||||
|
double_precision: false,
|
||||||
|
coverage: false
|
||||||
|
}
|
||||||
|
- {
|
||||||
|
name: "Windows / MinGW (Debug, Double Precision)",
|
||||||
|
os: windows-latest,
|
||||||
|
build_type: "Debug",
|
||||||
|
cc: "gcc",
|
||||||
|
cxx: "g++",
|
||||||
|
generators: "Ninja"
|
||||||
|
double_precision: true,
|
||||||
|
coverage: false
|
||||||
|
}
|
||||||
|
- {
|
||||||
|
name: "Windows / MinGW (Release, Double Precision)",
|
||||||
|
os: windows-latest,
|
||||||
|
build_type: "Release",
|
||||||
|
cc: "gcc",
|
||||||
|
cxx: "g++",
|
||||||
|
generators: "Ninja"
|
||||||
|
double_precision: true,
|
||||||
|
coverage: false
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
name: "MacOS / Clang (Release, Single Precision)",
|
name: "MacOS / Clang (Release, Single Precision)",
|
||||||
@ -99,6 +165,18 @@ jobs:
|
|||||||
cc: "clang",
|
cc: "clang",
|
||||||
cxx: "clang++",
|
cxx: "clang++",
|
||||||
generators: "Ninja"
|
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",
|
||||||
@ -140,7 +218,7 @@ jobs:
|
|||||||
- name: Install dependencies on MacOS
|
- name: Install dependencies on MacOS
|
||||||
if: startsWith(matrix.config.os, 'macos')
|
if: startsWith(matrix.config.os, 'macos')
|
||||||
run: |
|
run: |
|
||||||
brew install cmake ninja
|
brew install cmake ninja gcc
|
||||||
ninja --version
|
ninja --version
|
||||||
cmake --version
|
cmake --version
|
||||||
|
|
||||||
@ -171,7 +249,7 @@ jobs:
|
|||||||
run: sudo cmake --install build/
|
run: sudo cmake --install build/
|
||||||
|
|
||||||
- name: Install Library on Windows
|
- name: Install Library on Windows
|
||||||
if: startsWith(matrix.config.os, 'windows')
|
if: startsWith(matrix.config.name, 'Windows / MinGW')
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --install build/
|
run: cmake --install build/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user