2018-12-08 19:17:03 +00:00
|
|
|
version: build-{build}
|
2018-09-06 02:18:42 +00:00
|
|
|
clone_folder: c:\projects\janet
|
2018-02-02 04:43:37 +00:00
|
|
|
image:
|
2019-08-08 02:51:16 +00:00
|
|
|
- Visual Studio 2019
|
2018-02-02 04:43:37 +00:00
|
|
|
configuration:
|
|
|
|
- Release
|
|
|
|
platform:
|
|
|
|
- x64
|
2019-11-09 18:25:57 +00:00
|
|
|
- x86
|
2018-02-02 04:43:37 +00:00
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- arch: Win64
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
# skip unsupported combinations
|
|
|
|
init:
|
2019-11-09 18:29:01 +00:00
|
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" %platform%
|
2018-02-02 04:43:37 +00:00
|
|
|
|
2018-08-06 01:25:25 +00:00
|
|
|
install:
|
2019-08-19 01:01:47 +00:00
|
|
|
- set JANET_BUILD=%appveyor_repo_commit:~0,7%
|
2019-07-28 01:44:44 +00:00
|
|
|
- build_win all
|
2019-07-28 05:05:15 +00:00
|
|
|
- refreshenv
|
|
|
|
# We need to reload vcvars after refreshing
|
2019-11-09 18:29:01 +00:00
|
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" %platform%
|
2019-08-18 23:35:17 +00:00
|
|
|
- build_win test-install
|
2019-08-19 00:02:06 +00:00
|
|
|
- set janet_outname=%appveyor_repo_tag_name%
|
2020-04-01 14:22:27 +00:00
|
|
|
- if "%janet_outname%"=="" set /P janet_outname=<build\version.txt
|
2018-08-06 01:25:25 +00:00
|
|
|
build: off
|
|
|
|
|
2018-12-08 18:50:46 +00:00
|
|
|
artifacts:
|
2019-08-18 22:02:28 +00: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-10-30 00:18:44 +00:00
|
|
|
- name: shell.c
|
|
|
|
path: dist\shell.c
|
|
|
|
type: File
|
2019-11-09 21:20:52 +00:00
|
|
|
- name: "janet-$(janet_outname)-windows-%platform%"
|
2019-08-18 20:54:43 +00:00
|
|
|
path: dist
|
|
|
|
type: Zip
|
2020-05-19 05:00:42 +00:00
|
|
|
- path: "janet-$(janet_outname)-windows-%platform%-installer.msi"
|
2019-05-29 01:05:47 +00:00
|
|
|
type: File
|
2018-12-08 20:12:55 +00:00
|
|
|
|
|
|
|
deploy:
|
2018-12-08 21:31:57 +00:00
|
|
|
description: 'The Janet Programming Language.'
|
|
|
|
provider: GitHub
|
|
|
|
auth_token:
|
|
|
|
secure: lwEXy09qhj2jSH9s1C/KvCkAUqJSma8phFR+0kbsfUc3rVxpNK5uD3z9Md0SjYRx
|
2019-11-10 17:30:09 +00:00
|
|
|
artifact: /(janet|shell).*/
|
2018-12-08 21:31:57 +00:00
|
|
|
draft: true
|
2019-01-27 02:14:04 +00:00
|
|
|
on:
|
|
|
|
APPVEYOR_REPO_TAG: true
|