-
Notifications
You must be signed in to change notification settings - Fork 78
50 lines (46 loc) · 1.33 KB
/
smoke-windows-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
name: smoke-windows-cygwin-amd64
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
jobs:
perl:
runs-on: windows-latest
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@master
with:
fetch-depth: 10
- name: Set up Cygwin
run: |
choco install cygwin cyg-get
cyg-get cygwin-devel gcc-core gcc gcc-g++ make cygwin64-w32api-headers binutils libtool git perl libcrypt-devel libnsl-devel
- name: Find out environment
shell: cmd
run: |
dir c:\tools\cygwin
path
- name: Check out again, using Cygwin git, to reset file permissions
shell: cmd
run: |
path c:\tools\cygwin\bin;c:\tools\cygwin\usr\bin
git config --system --add safe.directory /cygdrive/d/a/ExtUtils-MakeMaker/ExtUtils-MakeMaker
git checkout --force
- name: Configure
shell: cmd
run: |
path c:\tools\cygwin\bin;c:\tools\cygwin\usr\bin
perl Makefile.PL
- name: Build
shell: cmd
run: |
path c:\tools\cygwin\bin;c:\tools\cygwin\usr\bin
make
- name: Run Tests
shell: cmd
run: |
path c:\tools\cygwin\bin;c:\tools\cygwin\usr\bin
make test