-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
54 lines (53 loc) · 1.63 KB
/
azure-pipelines.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
trigger:
branches:
include: ["master"]
tags:
include: ["*"]
jobs:
- template: _build/azure-pipelines-template.yml
parameters:
name: macOS
displayName: macOS SQLite
vmImage: macOS-10.13
variables:
BACKEND: sqlite
setup:
- bash: |
brew update &&
brew install sqlite
displayName: Install sqlite
- template: _build/azure-pipelines-template.yml
parameters:
name: Linux
displayName: Linux SQLite
vmImage: ubuntu-16.04
variables:
BACKEND: sqlite
setup:
- bash: |
sudo rm -rf /home/vsts/.elm
displayName: Clean elm cache
- bash: |
sudo apt-get update &&
sudo apt-get -y install sqlite3 libsqlite3-dev
displayName: Install sqlite
- template: _build/azure-pipelines-template.yml
parameters:
name: Windows
displayName: Windows SQLite
vmImage: vs2017-win2016
variables:
BACKEND: sqlite
SQLITE3_LIB_DIR: C:\sqlite
setup:
- script: |
choco install 7zip
mkdir C:\sqlite
CD /D C:\sqlite
curl -fsS --retry 3 --retry-connrefused -o sqlite3.zip https://sqlite.org/2017/sqlite-dll-win64-x64-3160200.zip
7z e sqlite3.zip -y
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
lib /machine:x64 /def:sqlite3.def /out:sqlite3.lib
set PATH=%PATH%;C:\sqlite
echo "##vso[task.setvariable variable=PATH;]%PATH%;C:\sqlite"
displayName: Install sqlite