Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/sparse-zephyr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
# sof/scripts/parse_sparse_output.sh
warnings-subset:

# We're sharing binaries with the zephyr-build container so keep
# We're sharing the sparse binary with the zephyr-build container so keep
# this in sync with it.
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
fail-fast: false
Expand Down
25 changes: 10 additions & 15 deletions .github/workflows/zephyr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
fi

build-linux:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -204,35 +204,30 @@ jobs:

# Keep this SDK version identical to the one in
# sof/zephyr/docker-run.sh
- name: Cache Zephyr SDK 0.15.2
- name: Cache Zephyr SDK 0.16.1
id: cache-zephyr-sdk
uses: actions/cache@v3.0.11
with:
path: zephyr-sdk-0.15.2_windows-x86_64.zip
key: ${{ runner.os }}-cache-zephyr-sdk-0-15-2

# Unzip is needed by Zephyr SDK setup.cmd installation script
- name: Download unzip
if: ${{ steps.cache-unzip.outputs.cache-hit != 'true' }}
run: |
curl -L -o unzip-5.51-1-bin.zip `
https://gnuwin32.sourceforge.net/downlinks/unzip-bin-zip.php
path: zephyr-sdk-0.16.1_windows-x86_64.7z
key: ${{ runner.os }}-cache-zephyr-sdk-0-16-1

# Wget is needed by Zephyr SDK setup.cmd installation script
- name: Download wget
if: ${{ steps.cache-wget.outputs.cache-hit != 'true' }}
run: |
curl -L -O http://downloads.sourceforge.net/gnuwin32/wget-1.11.4-1-bin.zip

- name: Download Zephyr SDK 0.15.2
- name: Download Zephyr SDK 0.16.1
if: ${{ steps.cache-zephyr-sdk.outputs.cache-hit != 'true' }}
run: | # yamllint disable-line rule:line-length
curl -L -O `
https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.2/zephyr-sdk-0.15.2_windows-x86_64.zip
https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.1/zephyr-sdk-0.16.1_windows-x86_64.7z

# Unzips every .zip package to directory matching its name without extension
- name: Unzip downloaded packages
run: 7z x *.zip -o*
run: |
7z x *.zip -o*
7z x *.7z -o*

- name: Add unzip to system PATH
run: |
Expand All @@ -249,7 +244,7 @@ jobs:
# setup.cmd may not be called in from msys shell as it does not parse
# forward slash script input arguments correctly.
- name: Install Zephyr SDK
run: zephyr-sdk-0.15.2_windows-x86_64/zephyr-sdk-0.15.2/setup.cmd /t all /h /c
run: zephyr-sdk-0.16.1_windows-x86_64/zephyr-sdk-0.16.1/setup.cmd /t all /h /c

- name: Setup Python
uses: actions/setup-python@v4
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ manifest:

- name: zephyr
repo-path: zephyr
revision: fa5117225af9c2167449d79cccd5f0e81bb10696
revision: 9fc99928caf04c3ae78871f803ce8cee83541ae0
remote: zephyrproject

# Import some projects listed in zephyr/west.yml@revision
Expand Down
8 changes: 4 additions & 4 deletions zephyr/docker-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
# use this script with a image other than the one officially tagged
# "latest", simply overwrite the official tag. Example:
#
# docker tag ghcr.io/zephyrproject-rtos/zephyr-build:v0.24.1
# docker tag ghcr.io/zephyrproject-rtos/zephyr-build:v0.26.4
# ghcr.io/zephyrproject-rtos/zephyr-build:latest
#
# "latest" is just a regular tag like "v0.24.1", it may or many not name
# "latest" is just a regular tag like "v0.26.4", it may or many not name
# the most recent image.
#
# To automatically restore the official "latest" tag, just delete it:
Expand Down Expand Up @@ -54,7 +54,7 @@ main()

run_command()
{
# zephyr-build:v0.24.13 has /opt/toolchains/zephyr-sdk-0.15.2
# zephyr-build:v0.26.4 has /opt/toolchains/zephyr-sdk-0.16.1
# https://hub.docker.com/r/zephyrprojectrtos/zephyr-build/tags
#
# Keep this SDK version identical to the one in
Expand All @@ -63,7 +63,7 @@ run_command()
--workdir /zep_workspace \
$SOF_DOCKER_RUN \
--env REAL_CC --env http_proxy --env https_proxy \
ghcr.io/zephyrproject-rtos/zephyr-build:v0.24.13 \
ghcr.io/zephyrproject-rtos/zephyr-build:v0.26.4 \
./sof/scripts/sudo-cwd.sh "$@"
}

Expand Down