Skip to content

Commit 05bd726

Browse files
committed
.github: Create a separate job for the Cmake check.
Signed-off-by: Abdelatif Guettouche <[email protected]>
1 parent 35a5658 commit 05bd726

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Diff for: .github/scripts/on-push.sh

-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ function build(){
1717
args+=" \"$fqbn\""
1818

1919
if [ "$OS_IS_LINUX" == "1" ]; then
20-
# CMake Test
21-
if [ "$chunk_index" -eq 0 ]; then
22-
bash "$ARDUINO_ESP32_PATH/${SCRIPTS_DIR}/check-cmakelists.sh"
23-
fi
2420
args+=" $target"
2521
args+=" $ARDUINO_ESP32_PATH/libraries"
2622
args+=" $chunk_index $chunks_cnt"

Diff for: .github/workflows/push.yml

+7
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ concurrency:
1414

1515
jobs:
1616

17+
cmake-check:
18+
name: Check cmake file
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v2
22+
- run: bash ./.github/scripts/check-cmakelists.sh
23+
1724
# Ubuntu
1825
build-arduino-linux:
1926
name: Arduino ${{ matrix.chunk }} on ubuntu-latest

0 commit comments

Comments
 (0)