Merge pull request #1648 from grumpycoders/chores-code-format #3950
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: macOS toolchain CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
macos-build-and-test-toolchain: | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
set-safe-directory: true | |
- uses: n1hility/cancel-previous-runs@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: build mips binutils | |
run: brew install ./tools/macos-mips/mipsel-none-elf-binutils.rb --debug | |
- name: build mips gcc | |
run: brew install ./tools/macos-mips/mipsel-none-elf-gcc.rb --debug | |
- name: build openbios | |
run: make -C ./src/mips/openbios |