Skip to content

Commit 430faea

Browse files
committed
Github action: Use the same config for build/ctest on all OSes
1 parent 8407a62 commit 430faea

File tree

5 files changed

+7
-27
lines changed

5 files changed

+7
-27
lines changed

.github/actions/build-windows/action.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/actions/build/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ runs:
44
using: composite
55
steps:
66
- name: Build
7-
run: make VERBOSE=1
7+
run: cmake --build . --config Release --verbose
88
shell: bash
99
working-directory: build
1010

.github/actions/ctest-windows/action.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/actions/ctest/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: ctest
1+
name: Test
22

33
runs:
44
using: composite
55
steps:
66
- name: Test
7-
run: ctest --output-on-failure
7+
run: ctest --output-on-failure -C Release
88
shell: bash
99
working-directory: build
1010

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ jobs:
231231
- uses: ./.github/actions/install-windows
232232
- uses: ./.github/actions/install-protozero
233233
- uses: ./.github/actions/cmake-windows
234-
- uses: ./.github/actions/build-windows
235-
- uses: ./.github/actions/ctest-windows
234+
- uses: ./.github/actions/build
235+
- uses: ./.github/actions/ctest
236236

237237
windows-2019-full:
238238
runs-on: windows-2019
@@ -246,5 +246,5 @@ jobs:
246246
shell: bash
247247
- uses: ./.github/actions/install-protozero
248248
- uses: ./.github/actions/cmake-windows
249-
- uses: ./.github/actions/build-windows
250-
- uses: ./.github/actions/ctest-windows
249+
- uses: ./.github/actions/build
250+
- uses: ./.github/actions/ctest

0 commit comments

Comments
 (0)