Skip to content

Commit

Permalink
Add macOS build to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GriffinRichards committed Dec 5, 2024
1 parent cd0ed12 commit fb68c10
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fb68c10

Please sign in to comment.