-
Notifications
You must be signed in to change notification settings - Fork 17
118 lines (115 loc) · 4.55 KB
/
crossdev.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: 00 4 * * *
jobs:
crossdev:
strategy:
matrix:
# All targets which are known to be broken, are commented. Pull
# requests fixing them welcome!
target:
- target: aarch64-unknown-linux-gnu
- target: aarch64-unknown-linux-musl
- target: aarch64_be-unknown-linux-gnu
- target: alpha-unknown-linux-gnu
- target: arm-unknown-linux-gnueabi
- target: arm-unknown-linux-gnueabihf
- target: arm-unknown-linux-musleabi
- target: arm-unknown-linux-musleabihf
- target: armeb-unknown-linux-gnueabi
- target: armeb-unknown-linux-gnueabihf
- target: armeb-unknown-linux-musleabi
- target: armeb-unknown-linux-musleabihf
- target: armv7-unknown-linux-musleabi
- target: armv7-unknown-linux-musleabihf
- target: armv6j-softfp-linux-gnueabi
- target: armv6j-unknown-linux-gnueabihf
- target: armv7a-softfp-linux-gnueabi
- target: armv7a-unknown-linux-gnueabihf
- target: hppa1.1-unknown-linux-gnu
- target: hppa2.0-unknown-linux-gnu
- target: hppa64-unknown-linux-gnu
args: --skip-system
- target: loongarch64-unknown-linux-gnu
# musl ebuilds don't support loong. The target is supported upstream,
# we need to fix and test our ebuilds.
#- target: loongarch64-unknown-linux-musl
- target: m68k-unknown-linux-gnu
- target: mips-unknown-linux-gnu
- target: mips-unknown-linux-musl
- target: mipsel-unknown-linux-gnu
- target: mipsel-unknown-linux-musl
- target: mips64-unknown-linux-gnu
# libgcc_s.so fails to build: `cannot find crti.o: No such file or
# directory`.
# - target: mips64-unknown-linux-musl
- target: mips64el-unknown-linux-gnu
# libgcc_s.so fails to build: `cannot find crti.o: No such file or
# directory`.
# - target: mips64el-unknown-linux-musl
- target: or1k-unknown-linux-gnu
args: --skip-system
- target: or1k-unknown-linux-musl
args: --skip-system
- target: powerpc-unknown-linux-gnu
- target: powerpc-unknown-linux-musl
- target: powerpc64-unknown-linux-gnu
- target: powerpc64-unknown-linux-musl
- target: powerpc64le-unknown-linux-gnu
- target: riscv32-unknown-linux-gnu
# busybox fails to build: `‘SYS_settimeofday’ undeclared`.
# - target: riscv32-unknown-linux-musl
- target: riscv64-unknown-linux-gnu
- target: riscv64-unknown-linux-musl
# glibc fails to build: `no support for pre-v8 sparc`.
# - target: sparc-unknown-linux-gnu
- target: sparc64-unknown-linux-gnu
- target: s390-ibm-linux-gnu
- target: s390x-ibm-linux-gnu
# musl ebuilds don't support s390x. The target is supported upstream,
# we need to fix and test our ebuilds.
# - target: s390x-unknown-linux-musl
# All sh* targets fail to install binutils, because of a missing
# keyword.
# - target: sh2-unknown-linux-gnu
# - target: sh2-unknown-linux-musl
# - target: sh2eb-unknown-linux-gnu
# - target: sh2eb-unknown-linux-musl
# - target: sh4-unknown-linux-gnu
# - target: sh4-unknown-linux-musl
# - target: sh4eb-unknown-linux-gnu
# - target: sh4eb-unknown-linux-musl
- target: x86_64-unknown-linux-gnu
- target: x86_64-unknown-linux-musl
# Embedded or otherwise special targets
- target: arm-none-eabi
args: --skip-system
- target: avr
args: --skip-system
- target: nvptx-none
args: --skip-system
- target: bpf-unknown-none
args: --skip-system
stage3:
- latest # `openrc` (glibc+GCC) is tagged as `latest`
- musl
fail-fast: false
name: crossdev target=${{ matrix.target.target }} stage3=${{ matrix.stage3 }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create cross environment
env:
CONTAINER_ENGINE: docker
run: |
./scripts/container_test.sh \
--tag ${{ matrix.stage3 }} \
--target ${{ matrix.target.target }} \
${{ matrix.target.args }}