Skip to content

Commit a491a91

Browse files
author
Grandine Team
committed
Testing macos and windows runners
1 parent 462dada commit a491a91

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,28 @@ on: [push]
55
jobs:
66
build:
77

8-
runs-on: ubuntu-latest
8+
runs-on: ${{ matrix.os }}
9+
10+
strategy:
11+
matrix:
12+
os: [ubuntu-latest, macos-latest, macos-14]
913

1014
steps:
15+
- name: Cache git folder
16+
uses: actions/cache@v4
17+
with:
18+
path: .git
19+
key: git-repository-key
1120
- uses: actions/checkout@v4
1221
with:
1322
submodules: true
1423
lfs: true
15-
# - name: Git lfs pull
16-
# working-directory: consensus-spec-tests
17-
# run: git lfs pull
1824
- name: Install Rust
1925
run: rustup toolchain install stable --profile minimal
2026
- uses: Swatinem/rust-cache@v2
2127
- name: Run formatter
2228
run: cargo fmt --check
29+
if: matrix.os == 'ubuntu-latest'
2330
- name: Run clippy
2431
run: bash scripts/ci/clippy.bash
2532
- name: Run tests

0 commit comments

Comments
 (0)