From 806225f013f05b0af661a82b89574ce4013e9a58 Mon Sep 17 00:00:00 2001 From: Fatih Onur Date: Sun, 2 Feb 2025 18:05:50 +0000 Subject: [PATCH 1/2] i#1569: Update Arm hosted GitHub Action Runner labels These labels point to a set of Arm AWS instances which are scalable and will get better support over the long-term. See: https://gitlab.arm.com/tooling/gha-runner-docs#runner-configurations Issue: #1569 --- .github/workflows/ci-aarchxx.yml | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-aarchxx.yml b/.github/workflows/ci-aarchxx.yml index 1a81f8d5d08..59f31dc9cf7 100644 --- a/.github/workflows/ci-aarchxx.yml +++ b/.github/workflows/ci-aarchxx.yml @@ -51,12 +51,12 @@ jobs: matrix: # This job will run in parallel. include: - - os: ubuntu-20-arm64-pre-sve + - os: ah-ubuntu_20_04-c6g_4x-50 sve: false - - os: ubuntu-20-arm64-sve + - os: ah-ubuntu_20_04-c7g_4x-50 sve: true sve_length: 256 - - os: ubuntu-20-arm64-sve + - os: ah-ubuntu_20_04-c7g_4x-50 sve: true sve_length: 128 runs-on: ${{ matrix.os }} @@ -85,6 +85,27 @@ jobs: - name: Create build directory run: mkdir build + - name: Create build environment + run: | + sudo apt-get update && \ + sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ + build-essential \ + doxygen \ + git \ + libunwind-dev \ + openssh-client \ + python3 \ + zlib1g-dev + + - name: Set ptrace_scope to 0 + run: | + echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope + + - name: Check current ptrace_scope + run: | + cat /proc/sys/kernel/yama/ptrace_scope + if [[ `cat /proc/sys/kernel/yama/ptrace_scope` != "0" ]]; then echo "WARNING: ptrace_scope NOT SET TO 0"; fi + - name: Setup cmake uses: lukka/get-cmake@latest with: From 19357baee2ead53c9de807baf7eff79824878ae7 Mon Sep 17 00:00:00 2001 From: Fatih Onur Date: Sun, 2 Feb 2025 19:14:58 +0000 Subject: [PATCH 2/2] i#1569: Add more packages --- .github/workflows/ci-aarchxx.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci-aarchxx.yml b/.github/workflows/ci-aarchxx.yml index 59f31dc9cf7..ebf87521306 100644 --- a/.github/workflows/ci-aarchxx.yml +++ b/.github/workflows/ci-aarchxx.yml @@ -93,8 +93,11 @@ jobs: doxygen \ git \ libunwind-dev \ + libc6-dev \ openssh-client \ + openssl \ python3 \ + vera++ \ zlib1g-dev - name: Set ptrace_scope to 0