forked from dsully/perl-crypt-openssl-x509
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (43 loc) · 1.07 KB
/
cygwin.yml
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
45
46
47
48
49
50
51
52
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