Skip to content

Commit

Permalink
macos gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
irvingywang committed Aug 22, 2024
1 parent e63d0ce commit f72045f
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
name: Build Project
on:
push: # Triggers on every push to the repository
push:
pull_request:

jobs:
build:
name: Build
runs-on: windows-latest
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: "recursive" # Ensure submodules are checked out

- name: Set up MSYS2
uses: msys2/setup-msys2@v2
with:
update: true
install: mingw-w64-x86_64-arm-none-eabi-gcc make
- name: Install ARM GCC Toolchain
run: |
brew install arm-none-eabi-gcc
- name: Build project
run: |
make -j V=1
shell: msys2 {0}
make -j $(sysctl -n hw.ncpu) V=1
shell: bash

0 comments on commit f72045f

Please sign in to comment.