-
Notifications
You must be signed in to change notification settings - Fork 81
42 lines (33 loc) · 814 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: CI
on:
push:
branches:
- '**'
- '!gh-pages'
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
perl: ["5.34", "5.36", "5.38"]
steps:
- uses: actions/checkout@v4
- name: Set up Perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}
- name: Update system and install dependencies
run: |
sudo apt-get update -qq
sudo apt-get -y install libhunspell-1.7-0 hunspell-en-us libhunspell-dev
- name: Install Perl modules
run: |
cd Text-Hoborg
cpanm ExtUtils::PkgConfig
cpanm File::Slurp
cpanm Lingua::EN::Fathom
cpanm Text::Hunspell
- name: Run tests
run: |
cd Text-Hoborg
perl Makefile.PL && make test