Add matrix of crystal versions
The matrix represents the stated supported version in the `shard.yml`master
parent
971edade77
commit
3c8f628713
|
@ -9,9 +9,24 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
name: "crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }}"
|
||||||
|
continue-on-error: ${{ !matrix.stable }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
stable: [true]
|
||||||
|
crystal:
|
||||||
|
- 0.36.0
|
||||||
|
- 0.36.1
|
||||||
|
- 1.0.0
|
||||||
|
- 1.1.0
|
||||||
|
- 1.1.1
|
||||||
|
- 1.2.0
|
||||||
|
include:
|
||||||
|
- crystal: nightly
|
||||||
|
stable: false
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: crystallang/crystal
|
image: crystallang/crystal:${{ matrix.crystal }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -32,7 +47,6 @@ jobs:
|
||||||
run: shards install
|
run: shards install
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: crystal spec -Dpreview_mt --order random
|
run: crystal spec -Dpreview_mt --order random
|
||||||
# run: crystal spec -Dpreview_mt --order random --error-on-warnings
|
|
||||||
- name: Run bulid
|
- name: Run bulid
|
||||||
run: shards build -Dpreview_mt
|
run: shards build -Dpreview_mt
|
||||||
- name: Run format
|
- name: Run format
|
||||||
|
|
Loading…
Reference in New Issue