🥥 [gha] get ARM and Intel for MacOS (#7) #19
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: Verify | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- main | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: | |
- macos-13 | |
- macos-latest | |
- windows-latest | |
- ubuntu-latest | |
runs-on: ${{matrix.os}} | |
env: | |
RUSTFLAGS: --deny warnings | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Remove Broken WSL bash executable | |
if: ${{ matrix.os == 'windows-latest' }} | |
shell: cmd | |
run: | | |
takeown /F C:\Windows\System32\bash.exe | |
icacls C:\Windows\System32\bash.exe /grant administrators:F | |
del C:\Windows\System32\bash.exe | |
- uses: Swatinem/rust-cache@v2 | |
- uses: extractions/setup-just@v1 | |
- name: Check just version | |
run: just --version | |
- name: Test with just check | |
run: just check |