-
-
Notifications
You must be signed in to change notification settings - Fork 24
45 lines (39 loc) · 846 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Test and Demo
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
strategy:
fail-fast: false
matrix:
crystal_version: [1.4, latest]
experimental:
- false
include:
- crystal_version: nightly
experimental: true
name: Build
runs-on: ubuntu-latest
container:
image: crystallang/crystal:latest
continue-on-error: ${{ matrix.experimental }}
services:
redis:
image: redis
env:
REDIS_URL: redis://redis:6379/1
steps:
- uses: actions/checkout@v4
- uses: crystal-lang/install-crystal@v1
with:
crystal: ${{matrix.crystal_version}}
- run: printenv
- run: crystal --version
- run: shards install
- run: make test
- run: make demo