Skip to content

Update cross-platform-actions to v0.22.0 #14

Update cross-platform-actions to v0.22.0

Update cross-platform-actions to v0.22.0 #14

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'
memory: 8G
shell: bash
sync_files: runner-to-vm
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 }}