set CMAKE_BUILD_TYPE via configuration argument, closes #65 (#66)

This commit is contained in:
Lars Melchior
2020-11-10 13:20:49 +01:00
committed by GitHub
parent 50fcbccb57
commit eadea97fe4
3 changed files with 5 additions and 5 deletions

View File

@@ -20,10 +20,10 @@ jobs:
- uses: actions/checkout@v1
- name: configure
run: cmake -Htest -Bbuild
run: cmake -Htest -Bbuild -DCMAKE_BUILD_TYPE=Debug
- name: build
run: cmake --build build --config Debug -j4
run: cmake --build build -j4
- name: test
run: |

View File

@@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v1
- name: configure
run: cmake -Hstandalone -Bbuild
run: cmake -Hstandalone -Bbuild -DCMAKE_BUILD_TYPE=Debug
- name: build
run: cmake --build build -j4

View File

@@ -21,10 +21,10 @@ jobs:
- uses: actions/checkout@v1
- name: configure
run: cmake -Htest -Bbuild -DENABLE_TEST_COVERAGE=1
run: cmake -Htest -Bbuild -DENABLE_TEST_COVERAGE=1 -DCMAKE_BUILD_TYPE=Debug
- name: build
run: cmake --build build --config Debug -j4
run: cmake --build build -j4
- name: test
run: |