Skip to content

Reduce the number of archs #9

Reduce the number of archs

Reduce the number of archs #9

Workflow file for this run

name: Test-build Kernel
on: [ push ]
jobs:
build:
name: ${{ matrix.target_arch }}
runs-on: macos-12
strategy:
fail-fast: false
matrix:
target_arch: [ amd64, aarch64, armv7, i386, powerpc, powerpc64, riscv64 ]
steps:
- uses: actions/checkout@v3
- name: Build
uses: cross-platform-actions/[email protected]
with:
operating_system: freebsd
version: '13.2'
shell: bash
sync_files: vm-to-runner
run: |
sudo pkg install -y llvm16 git-lite
mkdir -p ${HOME}/obj
env MAKEOBJDIRPREFIX=${HOME}/obj make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=llvm16 WITHOUT_TOOLCHAIN=yes NO_MODULES=yes buildkernel TARGET_ARCH=${{ matrix.target_arch }}