-
-
Notifications
You must be signed in to change notification settings - Fork 3k
72 lines (70 loc) · 1.77 KB
/
qemu.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# https://github.com/marketplace/actions/run-on-architecture
name: qemu
on:
push:
tags:
- 5.*
jobs:
linux-arm64:
runs-on: ubuntu-20.04
name: Build on qemu-arm64
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: uraimo/run-on-arch-action@v2
name: Run commands
with:
arch: aarch64
distro: ubuntu20.04
run: |
uname -a
apt update ; apt install --assume-yes gcc make git patch zip xz-utils
sys/debian.sh
make -C dist/debian
- name: Pub
uses: actions/upload-artifact@v3
with:
name: linux-acr-deb-arm64
path: dist/debian/*/*.deb
linux-rv64:
runs-on: ubuntu-20.04
name: Build on qemu-riscv64
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: uraimo/run-on-arch-action@v2
name: Run commands
with:
arch: riscv64
distro: ubuntu20.04
run: |
uname -a
apt update ; apt install --assume-yes gcc make git patch zip xz-utils
sys/debian.sh
make -C dist/debian
- name: Pub
uses: actions/upload-artifact@v3
with:
name: linux-acr-deb-riscv64
path: dist/debian/*/*.deb
linux-s390x:
runs-on: ubuntu-20.04
name: Build on qemu-s390x
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: uraimo/run-on-arch-action@v2
name: Run commands
with:
arch: s390x
distro: ubuntu20.04
run: |
uname -a
apt update ; apt install --assume-yes gcc make git patch zip xz-utils
sys/debian.sh
make -C dist/debian
- name: Pub
uses: actions/upload-artifact@v3
with:
name: linux-acr-deb-s390x
path: dist/debian/*/*.deb