Add GitHub workflow #1
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: Build | ||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
container: ghcr.io/cross-rs/aarch64-unknown-linux-gnu | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
- name: Install wget | ||
run: apt install -y wget | ||
- name: Initialize circle | ||
run: ./init.sh | ||
- name: Initialize circle | ||
run: | | ||
./compile.sh 1 780000 kernel8-adesto-512 | ||
./compile.sh 1 1560000 kernel8-adesto-256 | ||
./compile.sh 1 3120000 kernel8-adesto-128 | ||
./compile.sh 1 6240000 kernel8-adesto-64 | ||
./compile.sh 2 780000 kernel8-fujitsu-512 | ||
./compile.sh 2 1560000 kernel8-fujitsu-256 | ||
./compile.sh 2 3120000 kernel8-fujitsu-128 | ||
./compile.sh 2 6240000 kernel8-fujitsu-64 | ||
./compile.sh 2 12480000 kernel8-fujitsu-32 | ||
- name: Upload boot files | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: Boot Files | ||
path: boot/* |