mirror of
https://gitea.invidious.io/iv-org/shard-radix.git
synced 2024-08-15 00:43:21 +00:00
Merge pull request #29 from luislavena/dev/use-github-ci
Migrate to GitHub Actions
This commit is contained in:
commit
410dbc01c4
4 changed files with 49 additions and 12 deletions
23
.github/workflows/ci-nightly.yml
vendored
Normal file
23
.github/workflows/ci-nightly.yml
vendored
Normal 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
26
.github/workflows/ci.yml
vendored
Normal 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
|
11
.travis.yml
11
.travis.yml
|
@ -1,11 +0,0 @@
|
||||||
language: crystal
|
|
||||||
crystal:
|
|
||||||
- latest
|
|
||||||
- nightly
|
|
||||||
matrix:
|
|
||||||
allow_failures:
|
|
||||||
- crystal: nightly
|
|
||||||
|
|
||||||
notifications:
|
|
||||||
email:
|
|
||||||
on_success: never
|
|
|
@ -3,7 +3,6 @@
|
||||||
[Radix tree](https://en.wikipedia.org/wiki/Radix_tree) implementation for
|
[Radix tree](https://en.wikipedia.org/wiki/Radix_tree) implementation for
|
||||||
Crystal language
|
Crystal language
|
||||||
|
|
||||||
[](https://travis-ci.org/luislavena/radix)
|
|
||||||
[](https://github.com/luislavena/radix/releases)
|
[](https://github.com/luislavena/radix/releases)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue