File tree Expand file tree Collapse file tree 3 files changed +43
-10
lines changed Expand file tree Collapse file tree 3 files changed +43
-10
lines changed Original file line number Diff line number Diff line change 1717
1818# CI docker CPU env
1919# tag: v0.62
20- FROM ubuntu:18 .04
20+ FROM ubuntu:20 .04
2121
2222COPY utils/apt-install-and-clear.sh /usr/local/bin/apt-install-and-clear
2323
@@ -45,8 +45,8 @@ ENV PYTHONNOUSERSITE 1 # Disable .local directory from affecting CI.
4545COPY install/ubuntu_install_python_package.sh /install/ubuntu_install_python_package.sh
4646RUN bash /install/ubuntu_install_python_package.sh
4747
48- COPY install/ubuntu1804_install_llvm .sh /install/ubuntu1804_install_llvm .sh
49- RUN bash /install/ubuntu1804_install_llvm .sh
48+ COPY install/ubuntu2004_install_llvm .sh /install/ubuntu2004_install_llvm .sh
49+ RUN bash /install/ubuntu2004_install_llvm .sh
5050
5151# Rust env (build early; takes a while)
5252COPY install/ubuntu_install_rust.sh /install/ubuntu_install_rust.sh
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # Licensed to the Apache Software Foundation (ASF) under one
3+ # or more contributor license agreements. See the NOTICE file
4+ # distributed with this work for additional information
5+ # regarding copyright ownership. The ASF licenses this file
6+ # to you under the Apache License, Version 2.0 (the
7+ # "License"); you may not use this file except in compliance
8+ # with the License. You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing,
13+ # software distributed under the License is distributed on an
14+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+ # KIND, either express or implied. See the License for the
16+ # specific language governing permissions and limitations
17+ # under the License.
18+
19+ set -euxo pipefail
20+
21+ wget https://apt.llvm.org/llvm.sh
22+ chmod +x llvm.sh
23+
24+ ./llvm.sh 9
25+ ./llvm.sh 10
26+ ./llvm.sh 11
27+ ./llvm.sh 12
28+ ./llvm.sh 13
Original file line number Diff line number Diff line change @@ -21,19 +21,24 @@ set -u
2121set -o pipefail
2222set -x
2323
24+ TEMP_PATH_NAME=" nrfjprog_tmp_path"
25+
26+ # Install JLink
2427NRF_COMMANDLINE_TOOLS_FILE=nRFCommandLineToolsLinuxamd64.tar.gz
25- NRF_COMMANDLINE_TOOLS_URL=https://nsscprodmedia.blob.core.windows.net/prod/software-and-other-downloads/desktop-software/nrf-command-line-tools/sw/versions-10-x-x/10-12-1/nrfcommandlinetools10121linuxamd64.tar.gz
26- NRF_COMMANDLINE_TOOLS_INSTALLER=nRF-Command-Line-Tools_10_12_1_Linux-amd64.deb
27- JLINK_LINUX_INSTALLER=JLink_Linux_V688a_x86_64.deb
28+ NRF_COMMANDLINE_TOOLS_URL=https://nsscprodmedia.blob.core.windows.net/prod/software-and-other-downloads/desktop-software/nrf-command-line-tools/sw/versions-10-x-x/10-18-1/nrf-command-line-tools-10.18.1_linux-amd64.tar.gz
29+ JLINK_LINUX_INSTALLER=JLink_Linux_V780c_x86_64.deb
2830
2931cd ~
30- mkdir -p nrfjprog
32+ mkdir -p ${TEMP_PATH_NAME}
3133wget --no-verbose -O $NRF_COMMANDLINE_TOOLS_FILE $NRF_COMMANDLINE_TOOLS_URL
3234
33- cd nrfjprog
35+ cd ${TEMP_PATH_NAME}
3436tar -xzvf " ../${NRF_COMMANDLINE_TOOLS_FILE} "
3537apt-install-and-clear -y " ./${JLINK_LINUX_INSTALLER} "
36- apt-install-and-clear -y " ./${NRF_COMMANDLINE_TOOLS_INSTALLER} "
38+
39+ # Install nrfjprog
40+ wget --no-verbose https://nsscprodmedia.blob.core.windows.net/prod/software-and-other-downloads/desktop-software/nrf-command-line-tools/sw/versions-10-x-x/10-18-1/nrf-command-line-tools_10.18.1_amd64.deb
41+ apt-install-and-clear -y ./nrf-command-line-tools_10.18.1_amd64.deb
3742
3843cd ..
39- rm -rf nrfjprog " ${NRF_COMMANDLINE_TOOLS_FILE} "
44+ rm -rf ${TEMP_PATH_NAME} " ${NRF_COMMANDLINE_TOOLS_FILE} "
You can’t perform that action at this time.
0 commit comments