-
Notifications
You must be signed in to change notification settings - Fork 2
52 lines (45 loc) · 1.36 KB
/
cbake-sysroots.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: cbake sysroots
on: workflow_dispatch
jobs:
build:
name: cbake sysroot [${{matrix.distro}}-${{matrix.arch}}]
runs-on: ${{matrix.runner}}
strategy:
fail-fast: false
matrix:
arch: [ amd64, arm64 ]
distro:
- ubuntu-18.04
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-24.04
- debian-10
- debian-11
- debian-12
- rhel8
- rhel9
- alpine-3.17
- alpine-3.21
include:
- os: linux
runner: ubuntu-20.04
steps:
- name: Check out ${{ github.repository }}
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up docker buildx
uses: docker/setup-buildx-action@v2
- name: Configure Linux runner
run: |
sudo apt update
sudo apt install ninja-build cmake xz-utils
bash <(wget -qO - https://aka.ms/install-powershell.sh)
- name: Build cbake sysroot
run: |
pwsh build.ps1 sysroot -Distro ${{matrix.distro}} -Arch ${{matrix.arch}}
- name: Upload cbake sysroot
uses: actions/upload-artifact@v4
with:
name: ${{matrix.distro}}-${{matrix.arch}}-sysroot
path: packages/${{matrix.distro}}-${{matrix.arch}}-sysroot.tar.xz