Skip to content

Commit 3deab93

Browse files
committed
ci: move to IT managed AWS self hosted runners
IT provides a new set of AWS self hosted runners, both amd64 and arm64 with the following tags: runs-on: [self-hosted, qcom-u2404, amd64-ssd] runs-on: [self-hosted, qcom-u2404, arm64-ssd] Signed-off-by: Nicolas Dechesne <[email protected]>
1 parent d0cbbf9 commit 3deab93

File tree

1 file changed

+24
-5
lines changed

1 file changed

+24
-5
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
workflow_call:
55

66
env:
7-
CACHE_DIR: /srv/gh-runners/quic-yocto/3rdparty
87
BASE_ARTIFACT_URL: "https://quic-yocto-fileserver-1029608027416.us-central1.run.app/${{ github.run_id }}"
98
MANIFEST_URL: https://github.com/quic-yocto/qcom-manifest
109
MANIFEST_BRANCH: qcom-linux-scarthgap
@@ -30,9 +29,29 @@ jobs:
3029
bsp: base
3130
- machine: qcs8300-ride-sx
3231
bsp: base
33-
runs-on: [self-hosted, x86]
32+
runs-on: [self-hosted, qcom-u2404, amd64-ssd]
33+
container:
34+
image: debian:trixie
35+
volumes:
36+
- /efs/qli/meta-qcom-3rdparty:/cache
37+
options: --privileged
3438
steps:
39+
- name: Update OS packages
40+
run: |
41+
set -ux
42+
sed -i 's/Components: main/Components: main contrib/' /etc/apt/sources.list.d/debian.sources
43+
apt update
44+
apt -y upgrade
45+
apt -y full-upgrade
46+
apt-get install --no-install-recommends -y \
47+
build-essential chrpath cpio debianutils diffstat file gawk \
48+
gcc git iputils-ping libacl1 locales python3 python3-git \
49+
python3-jinja2 python3-pexpect python3-pip python3-subunit \
50+
socat texinfo unzip wget xz-utils zstd repo ssh
51+
3552
- uses: actions/checkout@v4
53+
with:
54+
fetch-depth: 0
3655

3756
- name: Get manifest file
3857
run: |
@@ -48,9 +67,9 @@ jobs:
4867
cd QLI
4968
repo init -u ${MANIFEST_URL} -b ${MANIFEST_BRANCH} -m ${MANIFEST_FILE}
5069
repo sync
51-
mkdir -p ${CACHE_DIR}/{downloads,sstate-cache}
52-
ln -s ${CACHE_DIR}/downloads
53-
ln -s ${CACHE_DIR}/sstate-cache
70+
mkdir -p /cache/{downloads,sstate-cache}
71+
ln -s /cache/downloads
72+
ln -s /cache/sstate-cache
5473
5574
- name: Build QLI
5675
run: |

0 commit comments

Comments
 (0)