Skip to content

Commit 809014d

Browse files
committed
Merge branch 'feature/use_extern_compiler_on_ci' into 'master'
feat: use extern xtensa compiler on ci See merge request sdk/ESP8266_NONOS_SDK!288
2 parents 158bb7a + 570a89b commit 809014d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.gitlab-ci.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ stages:
22
- build
33
- deploy
44

5+
.install_compiler: &install_compiler
6+
- wget https://dl.espressif.com/dl/xtensa-lx106-elf-linux64-1.22.0-100-ge567ec7-5.2.0.tar.gz
7+
- tar -zxvf xtensa-lx106-elf-linux64-1.22.0-100-ge567ec7-5.2.0.tar.gz
8+
- export PATH=./xtensa-lx106-elf/bin/:$PATH
9+
- xtensa-lx106-elf-gcc -v
10+
511
.build_template: &build_template
612
stage: build
713
image: $CI_DOCKER_REGISTRY/esp8266-ci-env
@@ -19,7 +25,7 @@ stages:
1925
- base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
2026
- chmod 600 ~/.ssh/id_rsa
2127
- echo -e "Host gitlab.espressif.cn\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
22-
28+
- *install_compiler
2329

2430
build_ssc:
2531
<<: *build_template

0 commit comments

Comments
 (0)