Skip to content

Commit 31f8874

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 b411da7 commit 31f8874

File tree

2 files changed

+29
-11
lines changed

2 files changed

+29
-11
lines changed

.github/actions/compile/action.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ inputs:
44
required: true
55
bsp:
66
required: true
7-
cache_dir:
8-
required: true
97
manifest_url:
108
required: true
119
manifest_branch:
@@ -15,6 +13,20 @@ inputs:
1513
runs:
1614
using: "composite"
1715
steps:
16+
- name: Update OS packages
17+
shell: bash
18+
run: |
19+
set -ux
20+
sed -i 's/Components: main/Components: main contrib/' /etc/apt/sources.list.d/debian.sources
21+
apt update
22+
apt -y upgrade
23+
apt -y full-upgrade
24+
apt-get install --no-install-recommends -y \
25+
build-essential chrpath cpio debianutils diffstat file gawk \
26+
gcc git iputils-ping libacl1 locales python3 python3-git \
27+
python3-jinja2 python3-pexpect python3-pip python3-subunit \
28+
socat texinfo unzip wget xz-utils zstd repo ssh
29+
1830
- name: Get manifest file
1931
shell: bash
2032
run: |
@@ -31,9 +43,9 @@ runs:
3143
cd QLI
3244
repo init -u ${{inputs.manifest_url}} -b ${{inputs.manifest_branch}} -m ${MANIFEST_FILE}
3345
repo sync
34-
mkdir -p ${{inputs.cache_dir}}/{downloads,sstate-cache}
35-
ln -s ${{inputs.cache_dir}}/downloads
36-
ln -s ${{inputs.cache_dir}}/sstate-cache
46+
mkdir -p /cache/{downloads,sstate-cache}
47+
ln -s /cache/downloads
48+
ln -s /cache/sstate-cache
3749
3850
- name: Build QLI
3951
shell: bash

.github/workflows/build.yml

Lines changed: 12 additions & 6 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
@@ -13,7 +12,7 @@ env:
1312
jobs:
1413
build_warmup:
1514
if: github.repository == 'qualcomm-linux/meta-qcom-3rdparty'
16-
runs-on: [self-hosted, x86]
15+
runs-on: [self-hosted, qcom-u2404, amd64-ssd]
1716
strategy:
1817
fail-fast: true
1918
matrix:
@@ -22,6 +21,11 @@ jobs:
2221
bsp:
2322
- custom
2423
- base
24+
container:
25+
image: debian:trixie
26+
volumes:
27+
- /efs/qli/meta-qcom-3rdparty:/cache
28+
options: --privileged
2529
steps:
2630
- uses: actions/checkout@v4
2731

@@ -30,15 +34,14 @@ jobs:
3034
with:
3135
machine: ${{matrix.machine}}
3236
bsp: ${{matrix.bsp}}
33-
cache_dir: ${CACHE_DIR}
3437
manifest_url: ${MANIFEST_URL}
3538
manifest_branch: ${MANIFEST_BRANCH}
3639
qli_version: ${QLI_VERSION}
3740

3841
build:
3942
needs: build_warmup
4043
if: github.repository == 'qualcomm-linux/meta-qcom-3rdparty'
41-
runs-on: [self-hosted, x86]
44+
runs-on: [self-hosted, qcom-u2404, amd64-ssd]
4245
strategy:
4346
fail-fast: true
4447
matrix:
@@ -62,7 +65,11 @@ jobs:
6265
bsp: base
6366
- machine: qcs8275-iq-8275-evk
6467
bsp: base
65-
68+
container:
69+
image: debian:trixie
70+
volumes:
71+
- /efs/qli/meta-qcom-3rdparty:/cache
72+
options: --privileged
6673
steps:
6774
- uses: actions/checkout@v4
6875

@@ -71,7 +78,6 @@ jobs:
7178
with:
7279
machine: ${{matrix.machine}}
7380
bsp: ${{matrix.bsp}}
74-
cache_dir: ${CACHE_DIR}
7581
manifest_url: ${MANIFEST_URL}
7682
manifest_branch: ${MANIFEST_BRANCH}
7783
qli_version: ${QLI_VERSION}

0 commit comments

Comments
 (0)