Skip to content

Commit bd2e561

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

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,27 @@ 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, macos14]
913

1014
steps:
15+
- name: Cache git folder
16+
uses: actions/cache@v4
17+
with:
18+
path: .git
1119
- uses: actions/checkout@v4
1220
with:
1321
submodules: true
1422
lfs: true
15-
# - name: Git lfs pull
16-
# working-directory: consensus-spec-tests
17-
# run: git lfs pull
1823
- name: Install Rust
1924
run: rustup toolchain install stable --profile minimal
2025
- uses: Swatinem/rust-cache@v2
2126
- name: Run formatter
2227
run: cargo fmt --check
28+
if: matrix.os == 'ubuntu-latest'
2329
- name: Run clippy
2430
run: bash scripts/ci/clippy.bash
2531
- name: Run tests

0 commit comments

Comments
 (0)