-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
24 lines (20 loc) · 942 Bytes
/
.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
version: AV1.5-{build}
skip_branch_with_pr: true
image: Visual Studio 2019
cache:
- C:\ProgramData\chocolatey\bin -> .appveyor.yml
- C:\ProgramData\chocolatey\lib -> .appveyor.yml
- C:\lazarus -> .appveyor.yml
install:
- ps: >-
$ErrorActionPreference = "Stop"
choco install --yes --no-progress lazarus 7zip.portable xunit
if ($LASTEXITCODE -ne 0) { throw "Chocolatey failed to install all required packages - use the 're-build' option to try again" }
(New-Object Net.WebClient).DownloadFile('https://github.com/electron/rcedit/releases/download/v1.1.1/rcedit-x86.exe', 'rcedit-x86.exe')
$env:PATH="C:\ProgramData\chocolatey\bin;$env:PATH;C:\lazarus;$((Get-ChildItem -Recurse C:\lazarus\fpc\strip.exe).DirectoryName);C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin"
build_script:
- cmd: Build.cmd unstable
test: off
# artifacts:
# - path: OpenRails-Unstable.zip
# - path: OpenRails-Unstable-Source.zip