Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
rauhul committed Dec 7, 2024
1 parent 171d637 commit d9f5087
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-esp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
runs-on: ubuntu-24.04
container: espressif/idf:latest
strategy:
fail-fast: false
matrix:
example: [esp32-led-blink-sdk, esp32-led-strip-sdk]
swift: [swift-DEVELOPMENT-SNAPSHOT-2024-12-04-a]
Expand Down
53 changes: 53 additions & 0 deletions .github/workflows/build-zephyr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Build Zephyr Examples

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
# Build on Mondays at 9am PST every week
- cron: '0 17 * * 1'

jobs:
build-zephyr:
runs-on: ubuntu-24.04
container: node:23
strategy:
fail-fast: false
matrix:
example: [nrfx-blink-sdk]
swift: [swift-DEVELOPMENT-SNAPSHOT-2024-12-04-a]

steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11

- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
app-path: ${{ matrix.example }}
toolchains: arm-zephyr-eabi

- name: Install ${{ matrix.swift }}
run: |
wget -q https://download.swift.org/development/ubuntu2404/${{ matrix.swift }}/${{ matrix.swift }}-ubuntu24.04.tar.gz
tar xzf ${{ matrix.swift }}-ubuntu24.04.tar.gz
export PATH="$PATH:`pwd`/${{ matrix.swift }}-ubuntu24.04/usr/bin/"
echo "PATH=$PATH" >> $GITHUB_ENV
swiftc --version
- name: Build firmware
working-directory: ${{ matrix.example }}
run: |
west twister -T app -v --inline-logs --integration $EXTRA_TWISTER_FLAGS
- name: Twister Tests
working-directory: ${{ matrix.example }}
run: |
west twister -T tests -v --inline-logs --integration $EXTRA_TWISTER_FLAGS
6 changes: 3 additions & 3 deletions stm32-neopixel/Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
{
"identity" : "swift-syntax",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-syntax.git",
"location" : "https://github.com/swiftlang/swift-syntax.git",
"state" : {
"revision" : "64889f0c732f210a935a0ad7cda38f77f876262d",
"version" : "509.1.1"
"revision" : "0687f71944021d616d34d922343dcef086855920",
"version" : "600.0.1"
}
}
],
Expand Down
6 changes: 3 additions & 3 deletions stm32-uart-echo/Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
{
"identity" : "swift-syntax",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-syntax.git",
"location" : "https://github.com/swiftlang/swift-syntax.git",
"state" : {
"revision" : "64889f0c732f210a935a0ad7cda38f77f876262d",
"version" : "509.1.1"
"revision" : "0687f71944021d616d34d922343dcef086855920",
"version" : "600.0.1"
}
}
],
Expand Down

0 comments on commit d9f5087

Please sign in to comment.