Skip to content

Trimming distribution #107

Trimming distribution

Trimming distribution #107

Workflow file for this run

name: cygwin
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
branches:
- '*'
env:
CYGWIN_NOWINPATH: 1
jobs:
perl:
runs-on: windows-latest
strategy:
fail-fast: false
defaults:
run:
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
shell: powershell
- uses: actions/checkout@v2
- name: Set up Cygwin
uses: egor-tensin/setup-cygwin@v3
with:
platform: x64
packages: make perl gcc-core gcc-g++ pkg-config libcrypt-devel libssl-devel git curl
- name: perl -V
run: |
perl -V
gcc --version
- name: Run Tests
run: |
cd $( cygpath -u $GITHUB_WORKSPACE )
curl -sL https://cpanmin.us/ | perl - -nq --with-configure --with-develop --installdeps -v .
perl Makefile.PL
make
make test