Skip to content

Commit

Permalink
run clang first
Browse files Browse the repository at this point in the history
  • Loading branch information
brentru committed Feb 18, 2025
1 parent 670a6dc commit 77bbf1a
Showing 1 changed file with 21 additions and 24 deletions.
45 changes: 21 additions & 24 deletions .github/workflows/release-caller-offline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,29 @@ on:
required: true

jobs:
clang_and_doxy:
name: 🔎Clang & Doxygen
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- uses: actions/checkout@v4

- uses: actions/checkout@v4
with:
repository: adafruit/ci-arduino
ref: ci-wippersnapper
path: ci
- name: pre-install
run: bash ci/actions_install.sh
- name: clang
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/

build-esp32sx:
name: 🏗️ESP32-Sx
runs-on: ubuntu-latest
needs: clang_and_doxy
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -117,6 +137,7 @@ jobs:
build-rp2040:
name: 🏗️RP2040, RP2350
runs-on: ubuntu-latest
needs: clang_and_doxy
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -198,30 +219,6 @@ jobs:
delete-merged: true


clang_and_doxy:
name: 🔎Clang & Doxygen
runs-on: ubuntu-latest
needs:
[
build-esp32sx,
build-rp2040,
]
steps:
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- uses: actions/checkout@v4

- uses: actions/checkout@v4
with:
repository: adafruit/ci-arduino
ref: ci-wippersnapper
path: ci
- name: pre-install
run: bash ci/actions_install.sh
- name: clang
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/

release-wippersnapper:
name: Release WipperSnapper
runs-on: ubuntu-latest
Expand Down

0 comments on commit 77bbf1a

Please sign in to comment.