49 lines
978 B
YAML
49 lines
978 B
YAML
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
|
|
|