CI: Switch running the nokia_rx51 test with in-container toolchain
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.
Signed-off-by Tom Rini <[email protected]>
--- .azure-pipelines.yml | 3 +-- .gitlab-ci.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-)
.azure-pipelines.yml +1 -2
@@ -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
@@ -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
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.
Signed-off-by Tom Rini <[email protected]>--- .azure-pipelines.yml | 3 +-- .gitlab-ci.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-)
Works for me on gitlab!
Reviewed-by Simon Glass <[email protected]>
Tested-by Simon Glass <[email protected]>
Quoted 32 lines
.azure-pipelines.yml +1
-2@@ -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@@ -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
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.
Signed-off-by Tom Rini <[email protected]>--- .azure-pipelines.yml | 3 +-- .gitlab-ci.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-)
Works for me on gitlab!
Reviewed-by Simon Glass <[email protected]>
Tested-by Simon Glass <[email protected]>
Quoted 1 line
Applied to u-boot-dm, thanks!