Add CI/CD workflow
This commit is contained in:
parent
8053f318e0
commit
2252cdc632
1 changed files with 23 additions and 0 deletions
23
.github/workflows/crystal.yml
vendored
Normal file
23
.github/workflows/crystal.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
name: Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
container:
|
||||||
|
image: crystallang/crystal
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install dependencies
|
||||||
|
run: shards install
|
||||||
|
- name: Run build
|
||||||
|
run: make build
|
||||||
|
#- name: Run tests
|
||||||
|
# run: crystal spec
|
Loading…
Reference in a new issue