Skip to content

Commit

Permalink
Update CI workflow to install dependencies for secure AMIs
Browse files Browse the repository at this point in the history
Due to the switch to more secure AMIs, we now install required packages
as part of the workflow.

This change ensures that all necessary tools and libraries are available
during the build process.
  • Loading branch information
LukeIreland1 committed Jan 16, 2025
1 parent 51ccee3 commit b631c4f
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/ci-aarchxx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -82,6 +82,25 @@ jobs:
- name: Fetch master
run: git fetch --no-tags --depth=1 origin master

- name: Install dependencies
run: |
sudo apt update >& /dev/null && \
sudo DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
build-essential \
cmake \
doxygen \
git \
libunwind-dev \
openssh-client \
python3 \
zlib1g-dev \
>& /dev/null
- name: Configure ptrace
run: |
sed -i s/1/0/g /etc/sysctl.d/10-ptrace.conf
sudo sysctl --system -a -p
- name: Create build directory
run: mkdir build

Expand Down

0 comments on commit b631c4f

Please sign in to comment.