2021-05-27 19:28:58 +00:00
|
|
|
# This is a basic workflow to help you get started with Actions
|
|
|
|
|
|
|
|
name: build
|
|
|
|
|
|
|
|
# Controls when the action will run.
|
|
|
|
on:
|
|
|
|
# Triggers the workflow on push or pull request events but only for the main branch
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ main ]
|
|
|
|
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2022-03-09 11:47:42 +00:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
submodules: recursive
|
|
|
|
|
|
|
|
- name: Install aarch64-linux-gnu- toolchain
|
|
|
|
run: |
|
|
|
|
sudo apt-get update
|
2022-03-09 12:40:12 +00:00
|
|
|
sudo apt-get install --no-install-recommends -y gcc-aarch64-linux-gnu
|
2022-03-09 11:47:42 +00:00
|
|
|
|
|
|
|
- name: Install nightly rust
|
|
|
|
run: |
|
2023-04-25 14:56:35 +00:00
|
|
|
export RUSTUP_TOOLCHAIN=stable
|
2022-03-09 11:47:42 +00:00
|
|
|
rustup target install aarch64-unknown-none-softfloat
|
|
|
|
|
|
|
|
- name: Build
|
|
|
|
run: make -k -j2 ARCH=aarch64-linux-gnu- CHAINLOADING=1
|
|
|
|
|
2024-09-23 23:03:57 +00:00
|
|
|
- uses: actions/upload-artifact@v4
|
2022-03-09 11:47:42 +00:00
|
|
|
with:
|
|
|
|
name: m1n1
|
|
|
|
path: |
|
|
|
|
build/m1n1.macho
|
2022-03-09 12:40:12 +00:00
|
|
|
build/m1n1.bin
|