Skip to content

Commit

Permalink
Migrate github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
titsuki committed Apr 1, 2021
1 parent f69805f commit ec5df80
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 23 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: test

on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:

jobs:
raku:
strategy:
matrix:
os:
- ubuntu-latest
- macOS-latest
- windows-latest
raku-version:
- 'latest'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: Raku/setup-raku@v1
with:
raku-version: ${{ matrix.raku-version }}
- name: Install Dependencies
run: zef install --/test --test-depends --deps-only .
- name: Install App::Prove6
run: zef install --/test App::Prove6
- name: Run Tests
run: prove6 -l t
47 changes: 25 additions & 22 deletions META6.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,36 @@
{
"auth" : "titsuki",
"authors" : [
"titsuki"
"auth": "titsuki",
"authors": [
"Itsuki Toyota"
],
"build-depends" : [
"build-depends": [
"LibraryMake",
"Distribution::Builder::MakeFromJSON",
"Zef",
"MeCab::CustomBuilder"
],
"builder" : "MeCab::CustomBuilder",
"depends" : [ ],
"description" : "A Raku bindings for libmecab ( http://taku910.github.io/mecab/ )",
"license" : "Artistic-2.0",
"name" : "MeCab",
"perl" : "6.c",
"provides" : {
"MeCab" : "lib/MeCab.pm6",
"MeCab::CustomBuilder" : "lib/MeCab/CustomBuilder.pm6",
"MeCab::DictionaryInfo" : "lib/MeCab/DictionaryInfo.pm6",
"MeCab::Lattice" : "lib/MeCab/Lattice.pm6",
"MeCab::Model" : "lib/MeCab/Model.pm6",
"MeCab::Tagger" : "lib/MeCab/Tagger.pm6"
"builder": "MeCab::CustomBuilder",
"depends": [
],
"description": "A Raku bindings for libmecab ( http://taku910.github.io/mecab/ )",
"license": "Artistic-2.0",
"name": "MeCab",
"perl": "6.c",
"provides": {
"MeCab": "lib/MeCab.pm6",
"MeCab::CustomBuilder": "lib/MeCab/CustomBuilder.pm6",
"MeCab::DictionaryInfo": "lib/MeCab/DictionaryInfo.pm6",
"MeCab::Lattice": "lib/MeCab/Lattice.pm6",
"MeCab::Model": "lib/MeCab/Model.pm6",
"MeCab::Tagger": "lib/MeCab/Tagger.pm6"
},
"resources" : [
"resources": [
"libraries/mecab"
],
"source-url" : "git://github.com/titsuki/raku-MeCab.git",
"tags" : [ ],
"test-depends" : [ ],
"version" : "0.0.17"
"source-url": "git://github.com/titsuki/raku-MeCab.git",
"tags": [
],
"test-depends": [
],
"version": "0.0.17"
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/titsuki/raku-MeCab.svg?branch=master)](https://travis-ci.org/titsuki/raku-MeCab)
[![Actions Status](https://github.com/titsuki/raku-MeCab/workflows/test/badge.svg)](https://github.com/titsuki/raku-MeCab/actions)

NAME
====
Expand Down
23 changes: 23 additions & 0 deletions dist.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
; dist.ini
name = raku-MeCab

[ReadmeFromPod]
; if you want to disable generating README.md from main module's pod, then:
; enable = false
;
; if you want to change a file that generates README.md, then:
; filename = lib/Your/Tutorial.pod

[PruneFiles]
; if you want to prune files when packaging, then
; filename = utils/tool.pl
;
; you can use Raku regular expressions
; match = ^ 'xt/'

[MetaNoIndex]
; if you do not want to list some files in META6.json as "provides", then
; filename = lib/Should/Not/List/Provides.rakumod

[Badges]
provider = github-actions/test

0 comments on commit ec5df80

Please sign in to comment.