File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build ESP Examples
2+
3+ jobs :
4+ build :
5+ runs-on : ubuntu-24.04
6+ container : espressif/idf:latest
7+ strategy :
8+ matrix :
9+ example : [esp32-led-blink-sdk, esp32-led-strip-sdk]
10+ swift : [swift-DEVELOPMENT-SNAPSHOT-2024-12-04-a]
11+
12+ steps :
13+ - name : Checkout repo
14+ uses : actions/checkout@v4
15+
16+ - name : Install apt dependencies
17+ run : apt-get -qq update && apt-get -qq -y install pkg-config
18+
19+ - name : Install ${{ matrix.swift }}
20+ run : |
21+ wget https://download.swift.org/development/ubuntu2404-aarch64/${{ matrix.swift }}/${{ matrix.swift }}-ubuntu24.04-aarch64.tar.gz
22+ tar xzf ${{ matrix.swift }}-ubuntu24.04-aarch64.tar.gz
23+ export PATH="$PATH:`pwd`/${{ matrix.swift }}-ubuntu24.04-aarch64/usr/bin/"
24+ echo "PATH=$PATH" >> $GITHUB_ENV
25+ swiftc --version
26+
27+ - name : rauhul
28+ run : |
29+ cd $IDF_PATH
30+ . ./export.sh
31+ cd -
32+ cd ${{ matrix.example }}
33+ idf.py set-target esp32c6
34+ idf.py build
You can’t perform that action at this time.
0 commit comments