Skip to content

Commit e67cd97

Browse files
rauhulkubamracek
authored andcommitted
wip
1 parent fc1942b commit e67cd97

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/build.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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

0 commit comments

Comments
 (0)