-
Notifications
You must be signed in to change notification settings - Fork 12
/
appveyor.yml
57 lines (47 loc) · 1.38 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
48
49
50
51
52
53
54
55
56
57
version: 2.0.0-{build}
branches:
except:
- doc
skip_tags: false
platform: x64
configuration: Release
clone_folder: C:\BearLibTerminal.rs
install:
- set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%;C:\Users\appveyor\.cargo\bin;C:\
- set LIBRARY_PATH=C:\
-
- bash -lc "pacman --needed --noconfirm -Sy pacman-mirrors"
- bash -lc "pacman --noconfirm -Sy"
- bash -lc "pacman --noconfirm -S mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake"
-
- curl -SL https://win.rustup.rs/ -oC:\rustup-init.exe
- C:\rustup-init.exe -y --default-host="x86_64-pc-windows-gnu"
-
- git clone https://github.com/nabijaczleweli/BearLibTerminal.git C:\BearLibTerminal
- cd C:\BearLibTerminal\Build
- sed -i "s/localtime_r.*/localtime_s(\&tm, \&time);/" ..\Terminal\Source\Log.cpp
- cmake -G"MSYS Makefiles" ..
- make BearLibTerminal
- copy ..\Output\Windows64\BearLibTerminal.dll C:\
- cd C:\BearLibTerminal.rs
- copy C:\BearLibTerminal.dll .
build: off
build_script:
- cargo build --verbose
test: off
test_script:
- cargo test --verbose
artifacts:
- path: BearLibTerminal.dll
deploy:
provider: GitHub
artifact: BearLibTerminal.dll
auth_token:
secure: /46y+1G4T7Shd5mDj31xT5WSLgXnn3r0gR/2/dDgEoJheR6q/Eb02o64fUmRd7oo
on:
appveyor_repo_tag: true
notifications:
- provider: Email
to:
on_build_status_changed: true