1
0
mirror of https://github.com/janet-lang/janet synced 2025-08-04 21:13:51 +00:00

Try and address issues with appveyor hanging.

This commit is contained in:
Calvin Rose 2020-04-25 09:43:46 -05:00
parent 61edf22a45
commit d3da9e7a0d
2 changed files with 8 additions and 9 deletions

View File

@ -14,24 +14,21 @@ environment:
matrix: matrix:
fast_finish: true fast_finish: true
# skip unsupported combinations
init: init:
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" %platform% - call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" %platform%
install: before_build:
- set JANET_BUILD=%appveyor_repo_commit:~0,7%
- choco install nsis -y -pre --version 3.05 - choco install nsis -y -pre --version 3.05
# Replace makensis.exe and files with special long string build. This should
# prevent issues when setting PATH during installation.
- 7z e "tools\nsis-3.05-strlen_8192.zip" -o"C:\Program Files (x86)\NSIS\" -y - 7z e "tools\nsis-3.05-strlen_8192.zip" -o"C:\Program Files (x86)\NSIS\" -y
build_script:
- set JANET_BUILD=%appveyor_repo_commit:~0,7%
- build_win all - build_win all
- refreshenv
# We need to reload vcvars after refreshing test_script:
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" %platform%
- build_win test-install - build_win test-install
- set janet_outname=%appveyor_repo_tag_name% - set janet_outname=%appveyor_repo_tag_name%
- if "%janet_outname%"=="" set /P janet_outname=<build\version.txt - if "%janet_outname%"=="" set /P janet_outname=<build\version.txt
build: off
artifacts: artifacts:
- name: janet.c - name: janet.c

View File

@ -1,6 +1,8 @@
# This file is invoked by build_win.bat # This file is invoked by build_win.bat
# Relevant configuration variables are set there. # Relevant configuration variables are set there.
Unicode True
!echo "Program Files: ${PROGRAMFILES}" !echo "Program Files: ${PROGRAMFILES}"
!addplugindir "tools\" !addplugindir "tools\"