Skip to content

Commit 7bc20d1

Browse files
Update build workflow to use official Zephyr setup action and restrict OS matrix to Windows
1 parent 07adbca commit 7bc20d1

2 files changed

Lines changed: 5 additions & 257 deletions

File tree

.github/actions/setup-zephyr/action.yml

Lines changed: 0 additions & 252 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
os: [ubuntu-22.04, macos-26, windows-2022]
18+
os: [windows-2022]
1919
runs-on: ${{ matrix.os }}
2020
steps:
2121
- name: Checkout
@@ -30,10 +30,10 @@ jobs:
3030
python-version: 3.12
3131

3232
- name: Setup Zephyr project
33-
uses: ./OpenAstroFocuser/.github/actions/setup-zephyr
33+
uses: zephyrproject-rtos/action-zephyr-setup@v1
3434
with:
35-
app-path: OpenAstroFocuser
36-
toolchains: arm-zephyr-eabi:xtensa-espressif_esp32s3_zephyr-elf
35+
app-path: example-application
36+
toolchains: arm-zephyr-eabi
3737
ccache-cache-key: ${{ matrix.os }}
3838

3939
- name: Build firmware
@@ -52,4 +52,4 @@ jobs:
5252
if [ "${{ runner.os }}" = "Windows" ]; then
5353
EXTRA_TWISTER_FLAGS="--short-build-path -O/tmp/twister-out"
5454
fi
55-
west twister -T tests -v --inline-logs --integration $EXTRA_TWISTER_FLAGS
55+
west twister -T tests -v --inline-logs --integration $EXTRA_TWISTER_FLAGS

0 commit comments

Comments
 (0)