Skip to content

Continuous Integration #389

Continuous Integration

Continuous Integration #389

Workflow file for this run

name: Continuous Integration
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
branches:
- "**"
pull_request:
branches:
- "**:**"
release:
schedule:
- cron: "0 6 * * *"
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: crystal-lang/install-crystal@v1
- run: crystal tool format && git diff --exit-code
test_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: crystal-lang/install-crystal@v1
with:
crystal: nightly
- run: crystal spec -Dpreview_mt -Devloop=epoll spec/*_spec.cr -v
- run: crystal spec -Dpreview_mt -Devloop=epoll -Dmt spec/*_spec.cr -v
- run: crystal spec -Dpreview_mt -Devloop=libevent spec/*_spec.cr -v
- run: crystal spec -Dpreview_mt -Devloop=libevent -Dmt spec/*_spec.cr -v
test_macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: crystal-lang/install-crystal@v1
with:
crystal: nightly
- run: crystal spec -Dpreview_mt -Devloop=kqueue spec/*_spec.cr -v
- run: crystal spec -Dpreview_mt -Devloop=kqueue -Dmt spec/*_spec.cr -v
- run: crystal spec -Dpreview_mt -Devloop=libevent spec/*_spec.cr -v
- run: crystal spec -Dpreview_mt -Devloop=libevent -Dmt spec/*_spec.cr -v
#test_windows:
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v2
# - uses: crystal-lang/install-crystal@v1
# with:
# crystal: "branch:feature/evloop-iocp"
# - run: crystal spec -Dpreview_mt spec/*_spec.cr -v
# - run: crystal spec -Dpreview_mt -Dmt spec/*_spec.cr -v