Skip to content

Commit 6275914

Browse files
committed
quectel: Add setup to tools/ci.sh
1 parent 1f8e106 commit 6275914

2 files changed

Lines changed: 16 additions & 10 deletions

File tree

.github/workflows/ports_quectel.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,7 @@ jobs:
1111
uses: actions/checkout@v4
1212

1313
- name: Install tools
14-
run: |
15-
sudo apt-get update
16-
sudo apt-get install -y gcc-arm-none-eabi binutils-arm-none-eabi
17-
curl -L http://archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu55_55.1-7ubuntu0.5_amd64.deb -o libicu55.deb
18-
sudo dpkg -i libicu55.deb || true
19-
curl -L "https://github.com/QuecPython/toolchain/releases/download/V1.1.0/helios-toolchain" -o $HOME/helios-toolchain
20-
chmod +x $HOME/helios-toolchain
21-
cd $HOME/
22-
./helios-toolchain
23-
echo "$HOME/helios/bin" >> $GITHUB_PATH
14+
run: tools/ci.sh quectel_setup
2415

2516
- name: Build Firmware
2617
run: |

tools/ci.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,21 @@ function ci_qemu_build_rv64 {
457457
make ${MAKEOPTS} -C ports/qemu BOARD=VIRT_RV64 test_natmod
458458
}
459459

460+
########################################################################################
461+
# ports/quectel
462+
463+
function ci_quectel_setup {
464+
sudo apt-get update
465+
sudo apt-get install -y gcc-arm-none-eabi binutils-arm-none-eabi
466+
curl -L http://archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu55_55.1-7ubuntu0.5_amd64.deb -o libicu55.deb
467+
sudo dpkg -i libicu55.deb || true
468+
curl -L "https://github.com/QuecPython/toolchain/releases/download/V1.1.0/helios-toolchain" -o $HOME/helios-toolchain
469+
chmod +x $HOME/helios-toolchain
470+
cd $HOME/
471+
./helios-toolchain
472+
echo "$HOME/helios/bin" >> $GITHUB_PATH
473+
}
474+
460475
########################################################################################
461476
# ports/renesas-ra
462477

0 commit comments

Comments
 (0)