Skip to content

Merge branch 'main' of github.com:RGGH/mif #18

Merge branch 'main' of github.com:RGGH/mif

Merge branch 'main' of github.com:RGGH/mif #18

name: Rust Cross Compile for Raspberry Pi 5 (ARM64)
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
component: rustfmt
- name: Install cross
run: cargo install cross
- name: Build for ARM64 (Raspberry Pi 5)
run: cross build --target aarch64-unknown-linux-gnu --release
- name: Upload artifact for Raspberry Pi
uses: actions/upload-artifact@v3
with:
name: pi-build
path: target/aarch64-unknown-linux-gnu/release/mif