noozoid/.github/workflows/crystal.yml

31 lines
476 B
YAML
Raw Normal View History

2021-01-03 05:15:23 +00:00
---
2021-01-02 21:53:00 +00:00
name: Build
2021-01-03 05:15:23 +00:00
"on":
2021-01-02 21:53:00 +00:00
push:
2021-01-03 05:15:23 +00:00
branches: ["master"]
2021-01-02 21:53:00 +00:00
pull_request:
2021-01-03 05:15:23 +00:00
branches: ["master"]
2021-01-02 21:53:00 +00:00
jobs:
build:
runs-on: ubuntu-latest
container:
image: crystallang/crystal
steps:
2021-01-03 05:15:23 +00:00
- uses: actions/checkout@v2
- name: Install libncurses5
2021-01-03 05:20:26 +00:00
run: apt-get install libncurses5-dev
2021-01-03 05:15:23 +00:00
- name: Install dependencies
run: shards install
- name: Run tests
run: make test
- name: Run build
run: make build