From eadea97fe49a29ba5566ad592f17bb04de79981c Mon Sep 17 00:00:00 2001 From: Lars Melchior Date: Tue, 10 Nov 2020 13:20:49 +0100 Subject: [PATCH] set CMAKE_BUILD_TYPE via configuration argument, closes #65 (#66) --- .github/workflows/macos.yml | 4 ++-- .github/workflows/standalone.yml | 2 +- .github/workflows/ubuntu.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index cc82132..2fcbe9c 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -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: | diff --git a/.github/workflows/standalone.yml b/.github/workflows/standalone.yml index 85afe23..7fe2767 100644 --- a/.github/workflows/standalone.yml +++ b/.github/workflows/standalone.yml @@ -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 diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index dd62cc8..29d1509 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -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: |