can we build it?
This commit is contained in:
parent
88d31290e3
commit
4aa502d663
1 changed files with 49 additions and 0 deletions
49
.github/workflows/build.yaml
vendored
Normal file
49
.github/workflows/build.yaml
vendored
Normal 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
|
||||
|
||||
Loading…
Reference in a new issue