]> Dogcows Code - chaz/p5-File-KDBX/blob - .github/workflows/macos.yml
Release File-KDBX 0.906
[chaz/p5-File-KDBX] / .github / workflows / macos.yml
1 name: macOS
2
3 on:
4 push:
5 branches: ["master"]
6
7 jobs:
8 unit-tests:
9 name: "Test perl on macOS"
10
11 runs-on: macos-latest
12
13 steps:
14 - name: Install perl
15 run: |
16 brew install perl cpanminus
17 perl -MConfig -e'print $Config{installscript}' >>$GITHUB_PATH
18 - name: Print perl version
19 run: perl -V
20 - name: Install dzil
21 run: |
22 cpanm -n -l$HOME/perl5 local::lib Dist::Zilla
23 echo "$HOME/perl5/bin" >>$GITHUB_PATH
24 echo "PERL5LIB=$HOME/perl5/lib/perl5" >>$GITHUB_ENV
25 echo "PERL_LOCAL_LIB_ROOT=$HOME/perl5:$PERL_LOCAL_LIB_ROOT" >>$GITHUB_ENV
26 echo "PERL_MB_OPT=--install_base $HOME/perl5" >>$GITHUB_ENV
27 echo "PERL_MM_OPT=INSTALL_BASE=$HOME/perl5" >>$GITHUB_ENV
28 - name: Checkout code
29 uses: actions/checkout@v3
30 - name: Install author dependencies
31 run: dzil authordeps --missing |cpanm -n
32 - name: Install module dependencies
33 run: dzil listdeps --develop --missing |cpanm -n
34 - name: Run tests
35 run: dzil smoke --author --release
This page took 0.042748 seconds and 5 git commands to generate.