File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+ cd $TEMP
17+ curl https://cpan.metacpan.org/src/5.0/perl-5.40.1.tar.gz -o perl.tgz
18+ tar zxvf perl.tgz
19+ cd
20+ ls
21+ - name : Build
22+ shell : cmd
23+ run : |
24+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
25+ dir %TEMP%
26+ cd %TEMP%\perl-5.40.1\win32
27+ cd
28+ dir
29+ nmake CCTYPE=MSVC142 CFG=Debug INST_TOP=D:\perl
30+ - name : Show Config
31+ shell : cmd
32+ run : |
33+ cd %TEMP%\perl-5.40.1
34+ .\perl.exe -V
35+ - name : Install
36+ shell : cmd
37+ run : |
38+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
39+ cd %TEMP%\perl-5.40.1\win32
40+ nmake CCTYPE=MSVC142 CFG=Debug INST_TOP=D:\perl install
41+ - name : Add to start of path
42+ shell : cmd
43+ run : | # any whitespace in `echo` command line is kept
44+ echo D:\perl\bin>%TEMP%\p.txt
45+ type %GITHUB_PATH% >>%TEMP%\p.txt
46+ type %TEMP%\p.txt >%GITHUB_PATH%
47+ - name : Show installed config
48+ shell : cmd
49+ run : |
50+ path
51+ perl -V
You can’t perform that action at this time.
0 commit comments