Update git submodules shallowly to save time #65
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 CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: initial checkout | |
uses: actions/checkout@v2 | |
- name: cache Homebrew cache | |
uses: actions/cache@v2 | |
with: | |
path: /Users/runner/Library/Caches/Homebrew | |
key: ${{ runner.os }}-sbt-${{ hashFiles('*.rb') }} | |
- name: brew update | |
run: brew update | |
- name: tap riscv | |
run: brew tap riscv/riscv | |
- name: install tools | |
run: brew install riscv-tools | |
- name: test | |
run: brew test riscv-tools |