Skip to content

Commit

Permalink
feat: add windows to ci (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdwagner authored Apr 4, 2023
1 parent ee01278 commit 4d242eb
Showing 1 changed file with 16 additions and 21 deletions.
37 changes: 16 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,13 @@ jobs:
check_format:
strategy:
fail-fast: false
matrix:
crystal_version:
- latest
experimental:
- false
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
continue-on-error: false
steps:
- uses: actions/checkout@v2
- uses: crystal-lang/install-crystal@v1
with:
crystal: ${{matrix.crystal_version}}
- name: Download source
uses: actions/checkout@v3
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
- name: Install shards
run: shards install
- name: Format
Expand All @@ -32,19 +27,19 @@ jobs:
strategy:
fail-fast: false
matrix:
crystal_version:
- 1.4.0
- latest
experimental:
- false
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
os: [ubuntu-latest, windows-latest]
crystal_version: [latest]
include:
- os: ubuntu-latest
crystal_version: 1.4.0
runs-on: ${{ matrix.os }}
continue-on-error: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: crystal-lang/install-crystal@v1
with:
crystal: ${{matrix.crystal_version}}
- name: Install shards
run: shards install
crystal: ${{ matrix.crystal_version }}
- name: Install dependencies
run: shards install --skip-postinstall --skip-executables
- name: Run tests
run: crystal spec

0 comments on commit 4d242eb

Please sign in to comment.