-
Notifications
You must be signed in to change notification settings - Fork 5
54 lines (47 loc) · 1.13 KB
/
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
46
47
48
49
50
51
52
53
54
name: CI
on:
push:
pull_request:
branches: [master]
schedule:
- cron: '0 6 * * 6'
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- crystal: nightly
os: ubuntu-latest
- crystal: latest
os: macos-latest
runs-on: ${{matrix.os}}
env:
SHARDS_OPTS: --ignore-crystal-version
steps:
- name: Install SFML
uses: oprypin/install-sfml@v1
with:
sfml: '2.5.1'
- name: Install Crystal
uses: oprypin/install-crystal@v1
with:
crystal: ${{matrix.crystal}}
shards: true
- name: Download source
uses: actions/checkout@v2
- name: Build 2048
working-directory: 2048
run: shards build
- name: Build cube
working-directory: cube
run: shards build
- name: Build minesweeper
working-directory: minesweeper
run: shards build
- name: Build slither
working-directory: slither
run: shards build
- name: Build tetrominos
working-directory: tetrominos
run: shards build