Skip to content

Fix pod

Fix pod #156

Workflow file for this run

name: macos
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
jobs:
perl:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Set up Perl, Chromium
run: |
brew install perl libpng
brew cask install chromium
- name: perl -V
run: perl -V
- name: Install build infrastructure
run: |
mkdir -p "$HOME/perl5/lib/perl5/local"
curl -sL https://raw.githubusercontent.com/Perl-Toolchain-Gang/local-lib/master/lib/local/lib.pm > "$HOME/perl5/lib/perl5/local/lib.pm"
eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"
curl -sL https://cpanmin.us | perl - App::cpanminus
- name: Install prerequisite modules
run: |
$HOME/perl5/bin/cpanm --notest --installdeps .
$HOME/perl5/bin/cpanm --notest AnyEvent AnyEvent::Future AnyEvent::WebSocket::Client
$HOME/perl5/bin/cpanm --notest Mojolicious Future::Mojo
$HOME/perl5/bin/cpanm --notest IO::Async Net::Async::WebSocket::Client
- name: Chrome version
run: "find /Applications -name 'Chromium'"
- name: Build
run: perl Makefile.PL && make
- name: Run Tests
run: prove --nocount --jobs 4 -I local/ -bl xt t