Skip to content

Commit 10254ab

Browse files
authored
feat: add windows ci (#13)
1 parent a8011ca commit 10254ab

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
runs-on: ubuntu-latest
14+
continue-on-error: false
1415
steps:
15-
- uses: actions/checkout@v2.4.0
16+
- name: Download source
17+
uses: actions/checkout@v3
1618
- name: Install Crystal
1719
uses: crystal-lang/install-crystal@v1
18-
with:
19-
crystal: latest
2020
- name: Install shards
2121
run: shards install
2222
- name: Format
@@ -27,19 +27,19 @@ jobs:
2727
strategy:
2828
fail-fast: false
2929
matrix:
30-
crystal_version:
31-
- 1.4.0
32-
- latest
33-
experimental:
34-
- false
35-
runs-on: ubuntu-latest
36-
continue-on-error: ${{ matrix.experimental }}
30+
os: [ubuntu-latest, windows-latest]
31+
crystal_version: [latest]
32+
include:
33+
- os: ubuntu-latest
34+
crystal_version: 1.4.0
35+
runs-on: ${{ matrix.os }}
36+
continue-on-error: false
3737
steps:
38-
- uses: actions/checkout@v2
38+
- uses: actions/checkout@v3
3939
- uses: crystal-lang/install-crystal@v1
4040
with:
41-
crystal: ${{matrix.crystal_version}}
41+
crystal: ${{ matrix.crystal_version }}
4242
- name: Install dependencies
43-
run: shards install
43+
run: shards install --skip-postinstall --skip-executables
4444
- name: Run tests
4545
run: crystal spec

0 commit comments

Comments
 (0)