Skip to content

Initial revision

Initial revision #102

Workflow file for this run

name: windows
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
branches:
- '*'
jobs:
perl:
runs-on: windows-latest
strategy:
fail-fast: false
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v2
- name: Set up Perl
run: |
choco install strawberryperl
echo "C:\cx\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "C:\strawberry\c\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "C:\strawberry\perl\site\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "C:\strawberry\perl\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: perl -V
run: perl -V
- name: Download cpanm
run: |
cpan App::cpanminus
- name: Install Dependencies
run: |
cpanm -nq --with-develop --installdeps -v .
- name: Build Module
run: |
perl Makefile.PL
gmake
- name: Run Tests
run: |
gmake test TEST_VERBOSE=1