Update cross-platform-actions to v0.22.0 #14
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: 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 }} |