Skip to content

Commit

Permalink
try again to get appveyor working with msvc64
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmaclarty committed Sep 15, 2019
1 parent 3fdb75e commit f2bef42
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/appveyor.bat
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
call "%programfiles(x86)%\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;"C:\Program Files (x86)\Inno Setup 5";%PATH%
pacman -S --noconfirm zip

if "%APPVEYOR_REPO_TAG_NAME:~-15%" == "-distro-trigger" goto builddistro

call "%programfiles(x86)%\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%
make TARGET=msvc64.release LUAVM=luajit test
make TARGET=msvc64.release LUAVM=lua51 test
make TARGET=msvc64.release LUAVM=lua52 test
call "%programfiles(x86)%\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
make TARGET=msvc32.release LUAVM=luajit test
make TARGET=msvc32.release LUAVM=lua51 test
make TARGET=msvc32.release LUAVM=lua52 test
if %errorlevel% neq 0 exit /b %errorlevel%
if defined APPVEYOR_REPO_TAG_NAME (node scripts\upload_builds.js %APPVEYOR_REPO_TAG_NAME%)
if %errorlevel% neq 0 exit /b %errorlevel%
goto end

:builddistro
call "%programfiles(x86)%\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;"C:\Program Files (x86)\Inno Setup 5";%PATH%
set TAG=%APPVEYOR_REPO_TAG_NAME:~0,-15%
choco install -y InnoSetup
curl -L -O https://github.com/ianmaclarty/amulet/releases/download/%TAG%/builds-darwin.zip
Expand Down

0 comments on commit f2bef42

Please sign in to comment.