Skip to content

Commit

Permalink
ci: Use build environment with Arm GNU Toolchain 13.2.Rel1
Browse files Browse the repository at this point in the history
Version 2 of the open-iot-sdk Docker image in
the GitLab CI contains Arm GNU Toolchain 13.2.Rel1.

Additionally, the GitHub CI now also installs
this version in its build enviornment.

Signed-off-by: Dávid Házi <[email protected]>
  • Loading branch information
david-hazi-arm authored and urutva committed Dec 18, 2023
1 parent ae21d80 commit 2d615de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ jobs:
- name: Install GNU Arm toolchain
shell: bash
run: |
sudo apt-get -y install gcc-arm-none-eabi
sudo apt-get -y install tar
pushd $HOME
wget https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz
tar -xf arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz
popd
- name: Generate dummy device credentials
shell: bash
run: |
Expand All @@ -55,6 +59,7 @@ jobs:
- name: Build the project
shell: bash
run: |
export PATH=$HOME/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi/bin:$PATH
./tools/scripts/build.sh aws-iot-example --toolchain GNU --certificate_path $PWD/certificate.pem --private_key_path $PWD/private_key.pem
- name: Copy artifacts
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ include:
local: '$PWD/tools/ci/pipeline-baseline-fri.yml'

variables:
OPEN_IOT_SDK_DOCKER_VERSION: v1
OPEN_IOT_SDK_DOCKER_VERSION: v2
KUBERNETES_CPU_REQUEST: 1
KUBERNETES_MEMORY_REQUEST: 1Gi
GIT_SUBMODULE_STRATEGY: recursive
Expand Down

0 comments on commit 2d615de

Please sign in to comment.