2018-12-08 14:17:03 -05:00
|
|
|
version: build-{build}
|
2018-09-05 22:18:42 -04:00
|
|
|
clone_folder: c:\projects\janet
|
2018-02-01 20:43:37 -08:00
|
|
|
image:
|
2019-08-07 22:51:16 -04:00
|
|
|
- Visual Studio 2019
|
2018-02-01 20:43:37 -08:00
|
|
|
configuration:
|
|
|
|
- Release
|
|
|
|
- Debug
|
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- arch: Win64
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
# skip unsupported combinations
|
|
|
|
init:
|
2019-08-18 19:35:17 -04:00
|
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
|
2018-02-01 20:43:37 -08:00
|
|
|
|
2018-08-05 21:25:25 -04:00
|
|
|
install:
|
2019-08-18 21:01:47 -04:00
|
|
|
- set JANET_BUILD=%appveyor_repo_commit:~0,7%
|
2018-12-22 16:24:08 -05:00
|
|
|
- choco install nsis -y -pre
|
2019-08-07 22:19:49 -04:00
|
|
|
# Replace makensis.exe and files with special long string build. This should
|
|
|
|
# prevent issues when setting PATH during installation.
|
2019-08-07 22:23:19 -04:00
|
|
|
- 7z e "tools\nsis-3.04-strlen_8192.zip" -o"C:\Program Files (x86)\NSIS\" -y
|
2019-07-27 21:44:44 -04:00
|
|
|
- build_win all
|
2019-07-28 01:05:15 -04:00
|
|
|
- refreshenv
|
|
|
|
# We need to reload vcvars after refreshing
|
2019-08-07 22:51:16 -04:00
|
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
|
2019-08-18 19:35:17 -04:00
|
|
|
- build_win test-install
|
2019-08-18 20:02:06 -04:00
|
|
|
- set janet_outname=%appveyor_repo_tag_name%
|
2019-09-04 23:44:23 -05:00
|
|
|
- if "%janet_outname%"=="" set janet_outname=v1.3.0
|
2018-08-05 21:25:25 -04:00
|
|
|
build: off
|
|
|
|
|
2018-02-01 20:43:37 -08:00
|
|
|
only_commits:
|
|
|
|
files:
|
|
|
|
- appveyor.yml
|
2018-07-08 21:10:15 -04:00
|
|
|
- src/
|
2018-12-08 13:13:55 -05:00
|
|
|
|
2018-12-08 13:50:46 -05:00
|
|
|
artifacts:
|
2019-08-18 18:02:28 -04:00
|
|
|
- name: janet.c
|
|
|
|
path: dist\janet.c
|
|
|
|
type: File
|
|
|
|
- name: janet.h
|
|
|
|
path: dist\janet.h
|
|
|
|
type: File
|
|
|
|
- name: janetconf.h
|
|
|
|
path: dist\janetconf.h
|
|
|
|
type: File
|
2019-08-18 19:16:15 -04:00
|
|
|
- name: "janet-$(janet_outname)-windows"
|
2019-08-18 16:54:43 -04:00
|
|
|
path: dist
|
|
|
|
type: Zip
|
2019-08-18 19:16:15 -04:00
|
|
|
- path: "janet-$(janet_outname)-windows-installer.exe"
|
|
|
|
name: "janet-$(janet_outname)-windows-installer.exe"
|
2019-05-28 21:05:47 -04:00
|
|
|
type: File
|
2018-12-08 15:12:55 -05:00
|
|
|
|
|
|
|
deploy:
|
2018-12-08 16:31:57 -05:00
|
|
|
description: 'The Janet Programming Language.'
|
|
|
|
provider: GitHub
|
|
|
|
auth_token:
|
|
|
|
secure: lwEXy09qhj2jSH9s1C/KvCkAUqJSma8phFR+0kbsfUc3rVxpNK5uD3z9Md0SjYRx
|
2019-08-18 20:07:12 -04:00
|
|
|
artifact: /janet.*/
|
2018-12-08 16:31:57 -05:00
|
|
|
draft: true
|
2019-01-26 21:14:04 -05:00
|
|
|
on:
|
|
|
|
APPVEYOR_REPO_TAG: true
|