Skip to contentSkip to conversation

CI: Switch running the nokia_rx51 test with in-container toolchain

PATCH In review Tom Rini 2 participants 3 messages Oct 15, 2021 – Oct 21, 2021

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 CI: Switch running the nokia_rx51 test with in-container toolchain

Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image.

---
 .azure-pipelines.yml | 3 +--
 .gitlab-ci.yml       | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
.azure-pipelines.yml +1 -2
index 53f86f5184c5..d3352defef2e 100644
@@ -169,8 +169,7 @@ jobs:
       options: $(container_option)
     steps:
       - script: |
-          ./tools/buildman/buildman --fetch-arch arm
-          export PATH=~/.buildman-toolchains/gcc-9.2.0-nolibc/arm-linux-gnueabi/bin/:$PATH
+          export PATH=/opt/gcc-11.1.0-nolibc/arm-linux-gnueabi/bin:$PATH
           test/nokia_rx51_test.sh
 
   - job: test_py
.gitlab-ci.yml +1 -2
index 5a3e2f0ceb85..4aeca31e198b 100644
@@ -177,8 +177,7 @@ Run binman, buildman, dtoc, Kconfig and patman testsuites:
 Run tests for Nokia RX-51 (aka N900):
   stage: testsuites
   script:
-    - ./tools/buildman/buildman --fetch-arch arm;
-      export PATH=~/.buildman-toolchains/gcc-9.2.0-nolibc/arm-linux-gnueabi/bin/:$PATH;
+    - export PATH=/opt/gcc-11.1.0-nolibc/arm-linux-gnueabi/bin:$PATH;
       test/nokia_rx51_test.sh
 
 # Test sandbox with test.py
Signature · 1 line
2.25.1
Reviewed-by Tested-by on v1 1/1
#1 lore raw
Quoted 9 lines · Tom Rini

Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image.

---
 .azure-pipelines.yml | 3 +--
 .gitlab-ci.yml       | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

Works for me on gitlab!

Quoted 32 lines
.azure-pipelines.yml +1 -2
index 53f86f5184c5..d3352defef2e 100644
@@ -169,8 +169,7 @@ jobs:
       options: $(container_option)
     steps:
       - script: |
-          ./tools/buildman/buildman --fetch-arch arm
-          export PATH=~/.buildman-toolchains/gcc-9.2.0-nolibc/arm-linux-gnueabi/bin/:$PATH
+          export PATH=/opt/gcc-11.1.0-nolibc/arm-linux-gnueabi/bin:$PATH
           test/nokia_rx51_test.sh
 
   - job: test_py
.gitlab-ci.yml +1 -3
index 5a3e2f0ceb85..4aeca31e198b 100644
@@ -177,8 +177,7 @@ Run binman, buildman, dtoc, Kconfig and patman testsuites:
 Run tests for Nokia RX-51 (aka N900):
   stage: testsuites
   script:
-    - ./tools/buildman/buildman --fetch-arch arm;
-      export PATH=~/.buildman-toolchains/gcc-9.2.0-nolibc/arm-linux-gnueabi/bin/:$PATH;
+    - export PATH=/opt/gcc-11.1.0-nolibc/arm-linux-gnueabi/bin:$PATH;
       test/nokia_rx51_test.sh
 
 # Test sandbox with test.py
--

2.25.1

Reviewed-by Tested-by
#2 lore raw
Quoted 9 lines · Tom Rini

Instead of fetching an arm toolchain to use, run the test with the one that's already in the container image.

---
 .azure-pipelines.yml | 3 +--
 .gitlab-ci.yml       | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

Works for me on gitlab!

Quoted 1 line

Applied to u-boot-dm, thanks!