Skip to content

Commit 75181b6

Browse files
Install Qemu on GH actions hosts (#284)
- The missing package is causing an error when running build.sh - Ensure the workflow only runs on the arm-toolchain repository
1 parent 171b089 commit 75181b6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/atfe_nightly_build_and_test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
build-and-test-toolchain:
2323
name: Build ${{ matrix.build_script }} + Test ${{ matrix.test_script }} on ${{ matrix.runner }}
2424
runs-on: ${{ matrix.runner }}
25+
# Ensure the workflow only runs on the arm-toolchain repository and not on forks
26+
if: github.repository == 'arm/arm-toolchain'
2527

2628
strategy:
2729
fail-fast: false # Prevents one job failure from cancelling all

arm-software/embedded/scripts/install_dependencies.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ sudo apt-get update && sudo apt-get install -y --no-install-recommends \
1414
ninja-build=1.10.1-1 \
1515
clang=1:14.0-55~exp2 \
1616
python3-pip \
17-
python3-setuptools
17+
python3-setuptools \
18+
qemu-system-arm=1:6.2+dfsg-2ubuntu6.26
1819

1920
# Upgrade pip and install meson with a pinned version
2021
python3 -m pip install --upgrade pip

0 commit comments

Comments
 (0)