Reduce the number of archs #9
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/action@v0.15.0 | |
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 }} |