Skip to content

Commit 77bbf1a

Browse files
committed
run clang first
1 parent 670a6dc commit 77bbf1a

File tree

1 file changed

+21
-24
lines changed

1 file changed

+21
-24
lines changed

.github/workflows/release-caller-offline.yml

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,29 @@ on:
1111
required: true
1212

1313
jobs:
14+
clang_and_doxy:
15+
name: 🔎Clang & Doxygen
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/setup-python@v5
19+
with:
20+
python-version: "3.x"
21+
- uses: actions/checkout@v4
22+
23+
- uses: actions/checkout@v4
24+
with:
25+
repository: adafruit/ci-arduino
26+
ref: ci-wippersnapper
27+
path: ci
28+
- name: pre-install
29+
run: bash ci/actions_install.sh
30+
- name: clang
31+
run: python3 ci/run-clang-format.py -r -e "ci/*" -e "bin/*" -e src/nanopb -e src/protos -e src/pb.h -e src/provisioning/tinyusb src/
32+
1433
build-esp32sx:
1534
name: 🏗️ESP32-Sx
1635
runs-on: ubuntu-latest
36+
needs: clang_and_doxy
1737
strategy:
1838
fail-fast: false
1939
matrix:
@@ -117,6 +137,7 @@ jobs:
117137
build-rp2040:
118138
name: 🏗️RP2040, RP2350
119139
runs-on: ubuntu-latest
140+
needs: clang_and_doxy
120141
strategy:
121142
fail-fast: false
122143
matrix:
@@ -198,30 +219,6 @@ jobs:
198219
delete-merged: true
199220

200221

201-
clang_and_doxy:
202-
name: 🔎Clang & Doxygen
203-
runs-on: ubuntu-latest
204-
needs:
205-
[
206-
build-esp32sx,
207-
build-rp2040,
208-
]
209-
steps:
210-
- uses: actions/setup-python@v5
211-
with:
212-
python-version: "3.x"
213-
- uses: actions/checkout@v4
214-
215-
- uses: actions/checkout@v4
216-
with:
217-
repository: adafruit/ci-arduino
218-
ref: ci-wippersnapper
219-
path: ci
220-
- name: pre-install
221-
run: bash ci/actions_install.sh
222-
- name: clang
223-
run: python3 ci/run-clang-format.py -r -e "ci/*" -e "bin/*" -e src/nanopb -e src/protos -e src/pb.h -e src/provisioning/tinyusb src/
224-
225222
release-wippersnapper:
226223
name: Release WipperSnapper
227224
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)