Skip to content

Commit da3175a

Browse files
committed
try Windows Perl CI
1 parent bf1047b commit da3175a

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: msvc
2+
on:
3+
push:
4+
branches:
5+
- '*'
6+
tags-ignore:
7+
- '*'
8+
pull_request:
9+
jobs:
10+
msvc:
11+
runs-on: windows-latest
12+
steps:
13+
- name: Get/extract
14+
shell: bash
15+
run: |
16+
curl https://cpan.metacpan.org/src/5.0/perl-5.40.1.tar.gz -o perl.tgz
17+
tar zxvf perl.tgz
18+
- name: Build
19+
shell: cmd
20+
run: |
21+
dir "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat"
22+
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
23+
dir
24+
cd perl-5.40.1\win32
25+
dir
26+
nmake CCTYPE=MSVC142 CFG=Debug
27+
- name: Show Config
28+
shell: cmd
29+
run: |
30+
.\perl.exe -V
31+
.\perl.exe -e "use Config; print Config::config_sh"

0 commit comments

Comments
 (0)