Merge 91bd8c13854f6e48d7315a874b2e8b3a0eda7073 into 25bef4626e6c5ccf5b433e1c22b6b1bd59e6f1bd

This commit is contained in:
Kisaragi 2025-03-05 11:40:14 +01:00 committed by GitHub
commit 4dfdf5b410
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

31
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,31 @@
name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-amd64:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Build on amd64
run: make modules -j$(nproc)
build-aarch64:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
# NOTE: GitHub hosted runners does not support aarch. See https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#cloud-hosts-for-github-hosted-runners for more info.
- uses: uraimo/run-on-arch-action@v2
name: Build on aarch64
with:
arch: aarch64
distro: ubuntu20.04
githubToken: ${{ github.token }}
run: make modules -j$(nproc)