Skip to content

Commit

Permalink
chore: add windows to ci (#28)
Browse files Browse the repository at this point in the history
* chore: add windows to ci

* chore: skip postinstall, executables
  • Loading branch information
mdwagner authored Feb 19, 2023
1 parent 4d59601 commit c7fbb17
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Lucky Env CI

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: "*"

Expand All @@ -13,11 +13,10 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: false
steps:
- uses: actions/[email protected]
- name: Download source
uses: actions/checkout@v3
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: latest
- name: Install shards
run: shards install
- name: Format
Expand All @@ -28,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}}
crystal: ${{ matrix.crystal_version }}
- name: Install dependencies
run: shards install
run: shards install --skip-postinstall --skip-executables
- name: Run tests
run: crystal spec

0 comments on commit c7fbb17

Please sign in to comment.