Edit github action file
This commit is contained in:
parent
f3a11914f8
commit
b962282747
17
.github/workflows/build-and-test.yml
vendored
17
.github/workflows/build-and-test.yml
vendored
@ -27,6 +27,7 @@ jobs:
|
|||||||
build_type: "Debug",
|
build_type: "Debug",
|
||||||
cc: "gcc",
|
cc: "gcc",
|
||||||
cxx: "g++",
|
cxx: "g++",
|
||||||
|
cxx_flags: "-Wall -Wextra -pedantic",
|
||||||
generators: "Ninja",
|
generators: "Ninja",
|
||||||
double_precision: false,
|
double_precision: false,
|
||||||
coverage: false,
|
coverage: false,
|
||||||
@ -37,6 +38,7 @@ jobs:
|
|||||||
build_type: "Release",
|
build_type: "Release",
|
||||||
cc: "gcc",
|
cc: "gcc",
|
||||||
cxx: "g++",
|
cxx: "g++",
|
||||||
|
cxx_flags: "-Wall -Wextra -pedantic",
|
||||||
generators: "Ninja",
|
generators: "Ninja",
|
||||||
double_precision: false,
|
double_precision: false,
|
||||||
coverage: false,
|
coverage: false,
|
||||||
@ -47,6 +49,7 @@ jobs:
|
|||||||
build_type: "Debug",
|
build_type: "Debug",
|
||||||
cc: "gcc",
|
cc: "gcc",
|
||||||
cxx: "g++",
|
cxx: "g++",
|
||||||
|
cxx_flags: "-Wall -Wextra -pedantic",
|
||||||
generators: "Ninja",
|
generators: "Ninja",
|
||||||
double_precision: true,
|
double_precision: true,
|
||||||
coverage: false,
|
coverage: false,
|
||||||
@ -57,6 +60,7 @@ jobs:
|
|||||||
build_type: "Release",
|
build_type: "Release",
|
||||||
cc: "gcc",
|
cc: "gcc",
|
||||||
cxx: "g++",
|
cxx: "g++",
|
||||||
|
cxx_flags: "-Wall -Wextra -pedantic",
|
||||||
generators: "Ninja",
|
generators: "Ninja",
|
||||||
double_precision: true,
|
double_precision: true,
|
||||||
coverage: false,
|
coverage: false,
|
||||||
@ -67,6 +71,7 @@ jobs:
|
|||||||
build_type: "Debug",
|
build_type: "Debug",
|
||||||
cc: "clang",
|
cc: "clang",
|
||||||
cxx: "clang++",
|
cxx: "clang++",
|
||||||
|
cxx_flags: "-Wall -Wextra -pedantic",
|
||||||
generators: "Ninja",
|
generators: "Ninja",
|
||||||
double_precision: false,
|
double_precision: false,
|
||||||
coverage: false,
|
coverage: false,
|
||||||
@ -77,6 +82,7 @@ jobs:
|
|||||||
build_type: "Release",
|
build_type: "Release",
|
||||||
cc: "clang",
|
cc: "clang",
|
||||||
cxx: "clang++",
|
cxx: "clang++",
|
||||||
|
cxx_flags: "-Wall -Wextra -pedantic",
|
||||||
generators: "Ninja",
|
generators: "Ninja",
|
||||||
double_precision: false,
|
double_precision: false,
|
||||||
coverage: false,
|
coverage: false,
|
||||||
@ -87,6 +93,7 @@ jobs:
|
|||||||
build_type: "Debug",
|
build_type: "Debug",
|
||||||
cc: "clang",
|
cc: "clang",
|
||||||
cxx: "clang++",
|
cxx: "clang++",
|
||||||
|
cxx_flags: "-Wall -Wextra -pedantic",
|
||||||
generators: "Ninja",
|
generators: "Ninja",
|
||||||
double_precision: true,
|
double_precision: true,
|
||||||
coverage: false,
|
coverage: false,
|
||||||
@ -97,6 +104,7 @@ jobs:
|
|||||||
build_type: "Release",
|
build_type: "Release",
|
||||||
cc: "clang",
|
cc: "clang",
|
||||||
cxx: "clang++",
|
cxx: "clang++",
|
||||||
|
cxx_flags: "-Wall -Wextra -pedantic",
|
||||||
generators: "Ninja",
|
generators: "Ninja",
|
||||||
double_precision: true,
|
double_precision: true,
|
||||||
coverage: false,
|
coverage: false,
|
||||||
@ -107,6 +115,7 @@ jobs:
|
|||||||
build_type: "Debug",
|
build_type: "Debug",
|
||||||
cc: "cl",
|
cc: "cl",
|
||||||
cxx: "cl",
|
cxx: "cl",
|
||||||
|
cxx_flags: "",
|
||||||
generators: "Visual Studio 16 2019",
|
generators: "Visual Studio 16 2019",
|
||||||
double_precision: false,
|
double_precision: false,
|
||||||
coverage: false,
|
coverage: false,
|
||||||
@ -117,6 +126,7 @@ jobs:
|
|||||||
build_type: "Release",
|
build_type: "Release",
|
||||||
cc: "cl",
|
cc: "cl",
|
||||||
cxx: "cl",
|
cxx: "cl",
|
||||||
|
cxx_flags: "",
|
||||||
generators: "Visual Studio 16 2019",
|
generators: "Visual Studio 16 2019",
|
||||||
double_precision: false,
|
double_precision: false,
|
||||||
coverage: false,
|
coverage: false,
|
||||||
@ -127,6 +137,7 @@ jobs:
|
|||||||
build_type: "Debug",
|
build_type: "Debug",
|
||||||
cc: "gcc",
|
cc: "gcc",
|
||||||
cxx: "g++",
|
cxx: "g++",
|
||||||
|
cxx_flags: "-Wall -Wextra -pedantic",
|
||||||
generators: "Ninja",
|
generators: "Ninja",
|
||||||
double_precision: false,
|
double_precision: false,
|
||||||
coverage: false,
|
coverage: false,
|
||||||
@ -137,6 +148,7 @@ jobs:
|
|||||||
build_type: "Release",
|
build_type: "Release",
|
||||||
cc: "gcc",
|
cc: "gcc",
|
||||||
cxx: "g++",
|
cxx: "g++",
|
||||||
|
cxx_flags: "-Wall -Wextra -pedantic",
|
||||||
generators: "Ninja",
|
generators: "Ninja",
|
||||||
double_precision: false,
|
double_precision: false,
|
||||||
coverage: false,
|
coverage: false,
|
||||||
@ -147,6 +159,7 @@ jobs:
|
|||||||
build_type: "Debug",
|
build_type: "Debug",
|
||||||
cc: "clang",
|
cc: "clang",
|
||||||
cxx: "clang++",
|
cxx: "clang++",
|
||||||
|
cxx_flags: "-Wall -Wextra -pedantic",
|
||||||
generators: "Ninja",
|
generators: "Ninja",
|
||||||
double_precision: false,
|
double_precision: false,
|
||||||
coverage: false,
|
coverage: false,
|
||||||
@ -157,6 +170,7 @@ jobs:
|
|||||||
build_type: "Release",
|
build_type: "Release",
|
||||||
cc: "clang",
|
cc: "clang",
|
||||||
cxx: "clang++",
|
cxx: "clang++",
|
||||||
|
cxx_flags: "-Wall -Wextra -pedantic",
|
||||||
generators: "Ninja",
|
generators: "Ninja",
|
||||||
double_precision: false,
|
double_precision: false,
|
||||||
coverage: false,
|
coverage: false,
|
||||||
@ -167,6 +181,7 @@ jobs:
|
|||||||
build_type: "Debug",
|
build_type: "Debug",
|
||||||
cc: "gcc",
|
cc: "gcc",
|
||||||
cxx: "g++",
|
cxx: "g++",
|
||||||
|
cxx_flags: "-Wall -Wextra -pedantic",
|
||||||
generators: "Ninja",
|
generators: "Ninja",
|
||||||
double_precision: false,
|
double_precision: false,
|
||||||
coverage: true,
|
coverage: true,
|
||||||
@ -220,7 +235,7 @@ jobs:
|
|||||||
-DRP3D_CODE_COVERAGE_ENABLED=${{ matrix.config.coverage }} \
|
-DRP3D_CODE_COVERAGE_ENABLED=${{ matrix.config.coverage }} \
|
||||||
-DCODE_COVERAGE_VERBOSE=True \
|
-DCODE_COVERAGE_VERBOSE=True \
|
||||||
-DRP3D_COMPILE_TESTS=True \
|
-DRP3D_COMPILE_TESTS=True \
|
||||||
-DCMAKE_CXX_FLAGS="-Wall -Wextra -pedantic" \
|
-DCMAKE_CXX_FLAGS=${{ matrix.config.cxx_flags }} \
|
||||||
-G "${{ matrix.config.generators }}" \
|
-G "${{ matrix.config.generators }}" \
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user