Skip to content

Commit

Permalink
fix: use older command line tools
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Oct 25, 2022
1 parent 945e18d commit 0788ddf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
include:
# Defaults
- ZEPHYR_TOOLCHAIN_VERSION: 0.15.1
NORDIC_COMMAND_LINE_TOOLS_VERSION: "Versions-10-x-x/10-18-0/nrf-command-line-tools-10.18.0"
EXTRA_CFLAGS: "-Werror"
NORDIC_COMMAND_LINE_TOOLS_VERSION: "Versions-10-x-x/10-17-0/nrf-command-line-tools-10.17.0"
EXTRA_CFLAGS: "-Werror -Wno-dev"
# Removed in v1.9
asset_tracker: disable
asset_tracker_v2: enable
Expand Down Expand Up @@ -67,7 +67,6 @@ jobs:
# v1.4-branch
- ncs_branch: v1.4-branch
ZEPHYR_TOOLCHAIN_VERSION: 0.14.1
NORDIC_COMMAND_LINE_TOOLS_VERSION: "Versions-10-x-x/10-17-0/nrf-command-line-tools-10.17.0"
# asset_tracker_v2 is not available in 1.4
asset_tracker_v2: disable
asset_tracker: enable
Expand Down Expand Up @@ -102,7 +101,7 @@ jobs:
docker run --rm -v ${PWD}:/workdir/project \
-w /workdir/project/nrf/applications/asset_tracker \
nordicplayground/nrfconnect-sdk:${{ matrix.ncs_branch }} \
west build -b nrf9160dk_nrf9160ns
west build -b nrf9160dk_nrf9160ns -- -DEXTRA_CFLAGS="${{ matrix.EXTRA_CFLAGS }}"
- uses: actions/upload-artifact@v2
if: matrix.asset_tracker != 'disable'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
include:
# Defaults
- ZEPHYR_TOOLCHAIN_VERSION: 0.15.1
NORDIC_COMMAND_LINE_TOOLS_VERSION: "Versions-10-x-x/10-18-0/nrf-command-line-tools-10.18.0"
NORDIC_COMMAND_LINE_TOOLS_VERSION: "Versions-10-x-x/10-17-0/nrf-command-line-tools-10.17.0"
EXTRA_CFLAGS: "-Werror"
# Removed in v1.9
asset_tracker: disable
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG arch=amd64
ARG ZEPHYR_TOOLCHAIN_VERSION=0.15.1
ARG WEST_VERSION=0.14.0
ARG NRF_UTIL_VERSION=6.1.7
ARG NORDIC_COMMAND_LINE_TOOLS_VERSION="Versions-10-x-x/10-18-0/nrf-command-line-tools-10.18.0"
ARG NORDIC_COMMAND_LINE_TOOLS_VERSION="Versions-10-x-x/10-17-0/nrf-command-line-tools-10.17.0"

# System dependencies
RUN mkdir /workdir/project && \
Expand Down

0 comments on commit 0788ddf

Please sign in to comment.