From fb68c101fb08022922ebd7206ee9221e65d4c874 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Wed, 4 Dec 2024 19:20:06 -0500 Subject: [PATCH] Add macOS build to workflow --- .github/workflows/build.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index daec929a..6ee25b02 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ env: IS_DEPLOY: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} jobs: - build: + build-linux: runs-on: ubuntu-latest steps: @@ -47,9 +47,24 @@ jobs: name: agbcc.tar.gz path: agbcc.tar.gz + build-macos: + runs-on: macos-latest + steps: + + - name: Checkout + uses: actions/checkout@main + + - name: Install deps + run: | + brew install arm-none-eabi-binutils + brew install arm-none-eabi-gcc + + - name: Compile + run: sh build.sh + deploy: runs-on: ubuntu-latest - needs: build + needs: build-linux if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} permissions: contents: write