Skip to content

Commit e627acd

Browse files
committed
Steal Corion's Cygwin Github action config
1 parent 90e5f0d commit e627acd

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: smoke-windows-cygwin-amd64
2+
3+
on:
4+
push:
5+
branches:
6+
- '*'
7+
tags-ignore:
8+
- '*'
9+
pull_request:
10+
11+
jobs:
12+
perl:
13+
14+
runs-on: windows-latest
15+
16+
steps:
17+
- run: git config --global core.autocrlf false
18+
- uses: actions/checkout@master
19+
with:
20+
fetch-depth: 10
21+
- name: Set up Cygwin
22+
run: |
23+
choco install cygwin cyg-get
24+
cyg-get cygwin-devel gcc-core gcc gcc-g++ make cygwin64-w32api-headers binutils libtool git ccache perl
25+
- name: Find out environment
26+
shell: cmd
27+
run: |
28+
dir c:\tools\cygwin
29+
path
30+
- name: Check out again, using Cygwin git, to reset file permissions
31+
shell: cmd
32+
run: |
33+
path c:\tools\cygwin\bin;c:\tools\cygwin\usr\bin
34+
git checkout --force
35+
- name: Configure
36+
shell: cmd
37+
run: |
38+
path c:\tools\cygwin\bin;c:\tools\cygwin\usr\bin
39+
perl Makefile.PL
40+
- name: Build
41+
shell: cmd
42+
run: |
43+
path c:\tools\cygwin\bin;c:\tools\cygwin\usr\bin
44+
make
45+
- name: Run Tests
46+
shell: cmd
47+
run: |
48+
path c:\tools\cygwin\bin;c:\tools\cygwin\usr\bin
49+
make test

0 commit comments

Comments
 (0)