From 4aa502d663a886247d7689de9e5a47cb97b31636 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Sat, 22 Mar 2025 11:08:28 -0500 Subject: [PATCH] can we build it? --- .github/workflows/build.yaml | 49 ++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..77379ec --- /dev/null +++ b/.github/workflows/build.yaml @@ -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 +