Skip to content

Commit 9b03308

Browse files
Run CI on multiple crystal versions and linux/windows
1 parent 1746147 commit 9b03308

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,24 @@ on:
44
branches: [master]
55
jobs:
66
build:
7-
runs-on: ubuntu-latest
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
os: [ubuntu-latest, windows-latest]
12+
crystal: [1.9, 1.10, 1.11, 1.12, 1.13]
13+
814
steps:
9-
- name: Download source
15+
- name: Checkout
1016
uses: actions/checkout@v2
11-
- name: Install Crystal
17+
- name: Install Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: "3.x"
21+
- name: Use Crystal ${{ matrix.crystal }}
1222
uses: crystal-lang/install-crystal@v1
13-
- name: Install Deps
14-
run: sudo apt-get install -y python3
23+
with:
24+
crystal: ${{ matrix.crystal }}
1525
- name: Install Shards
1626
run: shards install
1727
- name: Install Python reqs

0 commit comments

Comments
 (0)