-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathBaseStationAppVeyorConfig.yml
56 lines (42 loc) · 1.44 KB
/
BaseStationAppVeyorConfig.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
version: 1.0.{build}
branches:
only:
- master
skip_tags: true
image: Visual Studio 2017
configuration: Release
before_build:
- ps: >-
cd BaseStation
$libFile = "libs.zip"
Invoke-WebRequest "https://github.com/huskyroboticsteam/BaseStationPreload/raw/master/GStreamer.zip" -OutFile $libFile
Expand-Archive -Path $libFile -DestinationPath "gst"
$pluginFile = "plugins.zip"
Invoke-WebRequest "https://github.com/huskyroboticsteam/BaseStationPreload/raw/master/GStreamer_Plugins.zip" -OutFile $pluginFile
Expand-Archive -Path $pluginFile -DestinationPath "lib"
$mapsFile = "maps.zip"
Invoke-WebRequest "https://github.com/huskyroboticsteam/BaseStationPreload/raw/master/Maps.zip" -OutFile $mapsFile
Expand-Archive -Path $mapsFile -DestinationPath "Images"
nuget restore
build:
project: BaseStation\BaseStation.sln
verbosity: minimal
after_build:
- ps: >-
mv gst\* EntryPoint\bin\Release
mv lib EntryPoint\bin\Release\lib
mv Images EntryPoint\bin\Release\Images
cd EntryPoint\bin\Release
Compress-Archive -Path * -DestinationPath build.zip
artifacts:
- path: BaseStation\EntryPoint\bin\Release\build.zip
name: BaseStation Zip
deploy:
- provider: GitHub
tag: BaseStation-v$(appveyor_build_version)
auth_token:
secure: 65hrox5EJa5DUZ2Geddz8Mx0/KTpbWl6EXgag78F0Bou4YgAauaezz3FClTCjsQK
artifact: BaseStation Zip
only_commits:
files:
- BaseStation/