Skip to content

Commit 990ff16

Browse files
committed
appveyor script adjustments
1 parent a8d0ff9 commit 990ff16

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

appveyor.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
version: 0.3.2.{build}
22

3-
os:
4-
- Windows Server 2012 R2
3+
image: Windows Server 2012 R2
54

65
shallow_clone: true
76

@@ -23,9 +22,17 @@ cache:
2322
- c:\hererocks -> appveyor.yml
2423
- c:\external -> appveyor.yml
2524

25+
26+
2627
install:
2728
- echo "Setup..."
28-
- set PATH=C:\Python27\Scripts;%LR_EXTERNAL%;%PATH%
29+
- set PATH=C:\Python38\;C:\Python38\Scripts;%LR_EXTERNAL%;%PATH%
30+
- where py
31+
- py --version
32+
- where python
33+
- python --version
34+
- where pip
35+
- pip --version
2936
- if /I "%platform%"=="x86" set HR_TARGET=vs_32
3037
- if /I "%platform%"=="x64" set HR_TARGET=vs_64
3138
- if /I "%platform%"=="mingw" set HR_TARGET=mingw
@@ -35,10 +42,9 @@ install:
3542
mkdir "%LR_EXTERNAL%\lib" &&
3643
mkdir "%LR_EXTERNAL%\include"
3744
)
38-
- if not exist c:\hererocks (
39-
pip install hererocks &&
40-
hererocks c:\hererocks --%LUA% --target %HR_TARGET% -rlatest
41-
)
45+
- python -m pip install --upgrade pip
46+
- pip install git+https://github.com/luarocks/hererocks@0.25.0
47+
- hererocks c:\hererocks --%LUA% --target %HR_TARGET% -rlatest
4248
- call c:\hererocks\bin\activate
4349

4450
before_build:

0 commit comments

Comments
 (0)