Skip to content

Commit

Permalink
[ci] run actions on all branches
Browse files Browse the repository at this point in the history
  • Loading branch information
feelamee committed Oct 24, 2024
1 parent b8bf72d commit 9ba8127
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 17 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: test linux

on:
push:
branches: [ "master" ]
branches: [ '*' ]
pull_request:
branches: [ "master" ]
branches: [ '*' ]

env:
BUILD_TYPE: Release
Expand All @@ -17,11 +17,12 @@ jobs:
- uses: actions/checkout@v4

- name: configure cmake
run: cmake -S "${{github.workspace}}/test" \
-B "${{github.workspace}}/build" \
-C "${{github.workspace}}/cmake/common.cmake" \
-DCMAKE_BUILD_TYPE="${{env.BUILD_TYPE}}" \
-DORBI_PEDANTIC=ON
run: >
cmake -S "${{github.workspace}}/test"
-B "${{github.workspace}}/build"
-C "${{github.workspace}}/cmake/common.cmake"
-DCMAKE_BUILD_TYPE="${{env.BUILD_TYPE}}"
-DORBI_PEDANTIC=ON
- name: build
run: cmake --build "${{github.workspace}}/build" -j
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: test macos

on:
push:
branches: [ "master" ]
branches: [ '*' ]
pull_request:
branches: [ "master" ]
branches: [ '*' ]

env:
BUILD_TYPE: Release
Expand All @@ -17,11 +17,12 @@ jobs:
- uses: actions/checkout@v4

- name: configure cmake
run: cmake -S "${{github.workspace}}/test" \
-B "${{github.workspace}}/build" \
-C "${{github.workspace}}/cmake/common.cmake" \
-DCMAKE_BUILD_TYPE="${{env.BUILD_TYPE}}" \
-DORBI_PEDANTIC=ON
run: >
cmake -S "${{github.workspace}}/test"
-B "${{github.workspace}}/build"
-C "${{github.workspace}}/cmake/common.cmake"
-DCMAKE_BUILD_TYPE="${{env.BUILD_TYPE}}"
-DORBI_PEDANTIC=ON
- name: build
run: cmake --build "${{github.workspace}}/build" -j
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: test windows

on:
push:
branches: [ "master" ]
branches: [ '*' ]
pull_request:
branches: [ "master" ]
branches: [ '*' ]

env:
BUILD_TYPE: Release
Expand All @@ -17,7 +17,12 @@ jobs:
- uses: actions/checkout@v4

- name: configure cmake
run: cmake -S "${{github.workspace}}/test" -B "${{github.workspace}}/build" -C "${{github.workspace}}/cmake/common.cmake" -DCMAKE_BUILD_TYPE="${{env.BUILD_TYPE}}" -DORBI_PEDANTIC=ON
run: >
cmake -S "${{github.workspace}}/test"
-B "${{github.workspace}}/build"
-C "${{github.workspace}}/cmake/common.cmake"
-DCMAKE_BUILD_TYPE="${{env.BUILD_TYPE}}"
-DORBI_PEDANTIC=ON
- name: build
run: cmake --build "${{github.workspace}}/build" -j
Expand Down

0 comments on commit 9ba8127

Please sign in to comment.