Merge pull request #29 from luislavena/dev/use-github-ci

Migrate to GitHub Actions
This commit is contained in:
Luis Lavena 2021-01-30 21:04:48 -03:00 committed by GitHub
commit 410dbc01c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 49 additions and 12 deletions

23
.github/workflows/ci-nightly.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: CI (nightly)
on:
push:
pull_request:
schedule:
- cron: '0 6 * * 1' # Every monday 6 AM
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- {os: ubuntu-latest, crystal: nightly}
- {os: macos-latest, crystal: nightly}
runs-on: ${{matrix.os}}
steps:
- uses: oprypin/install-crystal@v1
with:
crystal: ${{matrix.crystal}}
- uses: actions/checkout@v2
- run: crystal spec --error-on-warnings --error-trace

26
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- {os: ubuntu-latest, crystal: latest}
- {os: macos-latest, crystal: latest}
runs-on: ${{matrix.os}}
steps:
- uses: oprypin/install-crystal@v1
with:
crystal: ${{matrix.crystal}}
- uses: actions/checkout@v2
- run: crystal spec
- run: crystal tool format --check src spec

View File

@ -1,11 +0,0 @@
language: crystal
crystal:
- latest
- nightly
matrix:
allow_failures:
- crystal: nightly
notifications:
email:
on_success: never

View File

@ -3,7 +3,6 @@
[Radix tree](https://en.wikipedia.org/wiki/Radix_tree) implementation for
Crystal language
[![Build Status](https://img.shields.io/travis/luislavena/radix/master.svg)](https://travis-ci.org/luislavena/radix)
[![Latest Release](https://img.shields.io/github/release/luislavena/radix.svg)](https://github.com/luislavena/radix/releases)
## Installation