Skip to content

Commit 9c947fd

Browse files
committed
优化build-action-test.yml
Signed-off-by: latercomer <[email protected]>
1 parent 8c3ad7b commit 9c947fd

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/build-action-test.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
build:
3838
name: build-sitl-qemu
3939

40-
runs-on: ubuntu-latest
40+
runs-on: ubuntu-24.04
4141

4242
steps:
4343
- name: Checkout Current Repo
@@ -50,7 +50,18 @@ jobs:
5050
with:
5151
python-version: "3.11"
5252

53-
- name: Run CI Shell
53+
- name: Install Build Toolchain
5454
shell: bash
5555
run: |
56-
source tools/install/ubuntu_ci.sh
56+
sudo apt install gcc gdb-multiarch -y
57+
sudo apt install gcc-arm-none-eabi binutils-arm-none-eabi -y
58+
sudo apt install qemu-system-arm -y
59+
sudo apt install libncurses5 libncurses5-dev libncursesw5-dev -y
60+
python3 -m pip install -r tools/install/requirements_v3.txt
61+
62+
- name: Build bsps/silt/qemu
63+
shell: bash
64+
run: |
65+
export RTT_EXEC_PATH=/usr/bin/
66+
export RTT_CC=gcc
67+
scons -C bsps/sitl/qemu default -j$(nproc)

0 commit comments

Comments
 (0)