Skip to content

Commit d2e1ead

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

File tree

2 files changed

+4
-256
lines changed

2 files changed

+4
-256
lines changed

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

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

.github/workflows/build.yml

Lines changed: 4 additions & 4 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:
3535
app-path: OpenAstroFocuser
36-
toolchains: arm-zephyr-eabi:xtensa-espressif_esp32s3_zephyr-elf
36+
toolchains: arm-zephyr-eabi,xtensa-espressif_esp32s3_zephyr-elf
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)