ci: add bpf-unknown-none #122
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: 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 }} |