File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 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+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
22+ cd perl-5.40.1\win32
23+ nmake CCTYPE=MSVC142 CFG=Debug INST_TOP=D:\perl
24+ - name : Show Config
25+ shell : cmd
26+ run : |
27+ cd perl-5.40.1
28+ .\perl.exe -V
29+ .\perl.exe -e "use Config; print Config::config_sh"
30+ - name : Install
31+ shell : cmd
32+ run : |
33+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
34+ cd perl-5.40.1\win32
35+ nmake CCTYPE=MSVC142 CFG=Debug INST_TOP=D:\perl install
36+ - name : Add to start of path
37+ shell : cmd
38+ run : echo D:\perl\bin;%path% > $GITHUB_PATH
39+ - name : Show installed config
40+ shell : cmd
41+ run : |
42+ perl -V
43+ perl -e "use Config; print Config::config_sh"
You can’t perform that action at this time.
0 commit comments