-
Notifications
You must be signed in to change notification settings - Fork 5
/
appveyor.yml
47 lines (40 loc) · 1.43 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Modified from https://github.com/starkat99/appveyor-rust/blob/master/appveyor.yml
os: Visual Studio 2015
environment:
matrix:
- channel: stable
target: x86_64-pc-windows-msvc
platform: x64
- channel: stable
target: i686-pc-windows-msvc
platform: x86
install:
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init -yv --default-toolchain %channel% --default-host %target%
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
- rustc -vV
- cargo -vV
build: false
test_script:
- cd ffi
- cargo build --release --verbose
- cd ..
after_test:
- 7z a meshlite_unstable_vc14_%PLATFORM%.zip %APPVEYOR_BUILD_FOLDER%\ffi\include\meshlite.h
- 7z a meshlite_unstable_vc14_%PLATFORM%.zip %APPVEYOR_BUILD_FOLDER%\ffi\target\release\meshlite_ffi.dll
- 7z a meshlite_unstable_vc14_%PLATFORM%.zip %APPVEYOR_BUILD_FOLDER%\ffi\target\release\meshlite_ffi.dll.lib
artifacts:
- path: '*.zip'
name: platform_zips
deploy:
release: meshlite-unstable
description: 'Unstable release for test purpose only. The source code is attached when this release first created, and it is not get updated while the binary been replaced.'
force_update: true
provider: GitHub
auth_token:
secure: Rhzhefjk89WN2tDht8vVKYAojGfR23LhDPKPxhQwbT7k3qswSWjmoFoDTpIHNfc0
artifact: platform_zips
draft: false
prerelease: false
on:
branch: master # release from master branch only