-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (39 loc) · 1.17 KB
/
macos.yml
File metadata and controls
44 lines (39 loc) · 1.17 KB
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
43
44
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 AnyEvent (optional)
run: "curl -L https://cpanmin.us | perl - --notest AnyEvent ||:"
- name: Install IO::Async (optional)
run: "curl -L https://cpanmin.us | perl - --notest IO::Async ||:"
- name: Install Mojolicious (optional)
run: "curl -L https://cpanmin.us | perl - --notest Mojolicious ||:"
- name: Install Socket::MsgHdr (optional)
run: "curl -L https://cpanmin.us | perl - --notest Socket::MsgHdr ||:"
- name: Install Dependencies
run: curl -L https://cpanmin.us | perl - --notest --installdeps --with-configure .
- name: perl Makefile.PL
run: perl Makefile.PL
- name: make
run: make
- name: Run tests
run: make test