Skip to content

Commit

Permalink
ci: Use ci-base instead to save runner space.
Browse files Browse the repository at this point in the history
Signed-off-by: Zelin Cai <[email protected]>
  • Loading branch information
caizelin committed Aug 12, 2023
1 parent f76b5bc commit f400333
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,19 @@ on:
jobs:
build:
runs-on: ubuntu-22.04
container: ghcr.io/zephyrproject-rtos/ci:v0.26.2
container: ghcr.io/zephyrproject-rtos/ci-base:v0.26.4
env:
CMAKE_PREFIX_PATH: /opt/toolchains
ZEPHYR_SDK_VERSION: 0.16.1
steps:
- name: Install Zephyr SDK with arm-zephyr-eabi only
run: |
cd $HOME
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${{ env.ZEPHYR_SDK_VERSION }}/zephyr-sdk-${{ env.ZEPHYR_SDK_VERSION }}_linux-x86_64_minimal.tar.xz
wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${{ env.ZEPHYR_SDK_VERSION }}/sha256.sum | shasum --check --ignore-missing
tar xvf zephyr-sdk-${{ env.ZEPHYR_SDK_VERSION }}_linux-x86_64_minimal.tar.xz
rm zephyr-sdk-${{ env.ZEPHYR_SDK_VERSION }}_linux-x86_64_minimal.tar.xz
cd $HOME/zephyr-sdk-${{ env.ZEPHYR_SDK_VERSION }}
./setup.sh -t arm-zephyr-eabi -h -c
- name: Checkout repository
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit f400333

Please sign in to comment.