Skip to content

Commit

Permalink
Add caching, remove mac os from check matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
vcfxb committed Mar 16, 2024
1 parent f4205ed commit 5a03d1e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/cargo-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,25 @@ jobs:
check:
strategy:
matrix:
os: ["windows-latest", "ubuntu-latest", "macos-latest"]
os: ["windows-latest", "ubuntu-latest"]
runs-on: ${{ matrix.os }}
env:
working-directory: ./wright
steps:
- uses: actions/checkout@v4
- name: Cache LLVM installation
id: cache-llvm
uses: actions/cache@v3
with:
path: |
C:/Program Files/LLVM
./llvm
key: llvm-17
- name: Install LLVM
uses: KyleMayes/install-llvm-action@v1
with:
version: "17"
cached: ${{ steps.cache-llvm.outputs.cache-hit }}
- name: Check rust code
run: cargo check
working-directory: ${{env.working-directory}}

0 comments on commit 5a03d1e

Please sign in to comment.