Skip to content

Commit

Permalink
Github action: Use the same config for build/ctest on all OSes
Browse files Browse the repository at this point in the history
  • Loading branch information
joto committed Dec 17, 2024
1 parent 8407a62 commit 430faea
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 27 deletions.
10 changes: 0 additions & 10 deletions .github/actions/build-windows/action.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ runs:
using: composite
steps:
- name: Build
run: make VERBOSE=1
run: cmake --build . --config Release --verbose
shell: bash
working-directory: build

10 changes: 0 additions & 10 deletions .github/actions/ctest-windows/action.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/actions/ctest/action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: ctest
name: Test

runs:
using: composite
steps:
- name: Test
run: ctest --output-on-failure
run: ctest --output-on-failure -C Release
shell: bash
working-directory: build

8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ jobs:
- uses: ./.github/actions/install-windows
- uses: ./.github/actions/install-protozero
- uses: ./.github/actions/cmake-windows
- uses: ./.github/actions/build-windows
- uses: ./.github/actions/ctest-windows
- uses: ./.github/actions/build
- uses: ./.github/actions/ctest

windows-2019-full:
runs-on: windows-2019
Expand All @@ -246,5 +246,5 @@ jobs:
shell: bash
- uses: ./.github/actions/install-protozero
- uses: ./.github/actions/cmake-windows
- uses: ./.github/actions/build-windows
- uses: ./.github/actions/ctest-windows
- uses: ./.github/actions/build
- uses: ./.github/actions/ctest

0 comments on commit 430faea

Please sign in to comment.