From f72045fd0d27819bd39e6eb33ecd507689be1d58 Mon Sep 17 00:00:00 2001 From: Irving Wang Date: Thu, 22 Aug 2024 14:56:45 -0400 Subject: [PATCH] macos gcc --- .github/workflows/build.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bca5f7e..79af091 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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