Skip to content

Commit 0474e13

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

2 files changed

Lines changed: 4 additions & 255 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: 4 additions & 3 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,8 +30,9 @@ 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+
base-path: 'C:\z'
3536
app-path: OpenAstroFocuser
3637
toolchains: arm-zephyr-eabi:xtensa-espressif_esp32s3_zephyr-elf
3738
ccache-cache-key: ${{ matrix.os }}
@@ -52,4 +53,4 @@ jobs:
5253
if [ "${{ runner.os }}" = "Windows" ]; then
5354
EXTRA_TWISTER_FLAGS="--short-build-path -O/tmp/twister-out"
5455
fi
55-
west twister -T tests -v --inline-logs --integration $EXTRA_TWISTER_FLAGS
56+
west twister -T tests -v --inline-logs --integration $EXTRA_TWISTER_FLAGS

0 commit comments

Comments
 (0)