can we build it?

This commit is contained in:
Jeff Epler 2025-03-22 11:08:28 -05:00
parent 88d31290e3
commit 4aa502d663

49
.github/workflows/build.yaml vendored Normal file
View file

@ -0,0 +1,49 @@
name: Build pico-mac
on:
push:
pull_request:
release:
types: [published]
check_suite:
types: [rerequested]
jobs:
bins:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install ARM GCC
uses: carlosperate/arm-none-eabi-gcc-action@v1
with:
release: '13.2.Rel1'
- name: get submodules
run: git submodule update --init --recursive
- name: get pico-sdk
run: (cd .. && git clone --depth=1 https://github.com/raspberrypi/pico-sdk)
- name: build targets
run: |
./fetch-rom-dsk.sh
./fruitjam-build.sh -m 4096
./fruitjam-build.sh -m 400 -v
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: uf2 files
path: build*/*.uf2
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: elf files
path: build*/*.elf