Skip to content

Commit

Permalink
ci: use kitaware ninja with job server support
Browse files Browse the repository at this point in the history
Needed for full functionality of the job server in twister
which only works with kitware supplied ninja version.

Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif committed Jan 9, 2024
1 parent 7ff715b commit 37560fe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/twister.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,12 @@ jobs:
west update --path-cache /github/cache/zephyrproject 2>&1 1> west.update.log || west update --path-cache /github/cache/zephyrproject 2>&1 1> west.update.log || ( rm -rf ../modules ../bootloader ../tools && west update --path-cache /github/cache/zephyrproject)
west forall -c 'git reset --hard HEAD'
# Hotfix until we have kitware ninja in the docker image.
# Needed for full functionality of the job server functionality in twister which only works with
# kitware supplied ninja version.
wget -c https://github.com/Kitware/ninja/releases/download/v1.11.1.g95dee.kitware.jobserver-1/ninja-1.11.1.g95dee.kitware.jobserver-1_x86_64-linux-gnu.tar.gz -O - | tar xz --strip-components=1
sudo cp ninja /usr/local/bin
- name: Check Environment
run: |
cmake --version
Expand Down

0 comments on commit 37560fe

Please sign in to comment.