-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (36 loc) · 859 Bytes
/
macos.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
name: macos
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
jobs:
perl:
runs-on: macOS-latest
env:
PERL_USE_UNSAFE_INC: 0
AUTHOR_TESTING: 1
AUTOMATED_TESTING: 1
RELEASE_TESTING: 1
PERL_CARTON_PATH: $GITHUB_WORKSPACE/local
steps:
- uses: actions/checkout@v2
- name: Set up Perl
run: brew install perl
- name: perl -V
run: perl -V
- name: install cpm
run: |
curl -fsSL --compressed https://git.io/cpm > cpm
chmod +x cpm
./cpm --version
- name: Install Dependencies
run: ./cpm install -g --show-build-log-on-failure --cpanfile cpanfile
- name: perl Makefile.PL
run: perl Makefile.PL
- name: make
run: make
- name: Run Tests
run: make test