-
Notifications
You must be signed in to change notification settings - Fork 2
/
azure-pipelines.yaml
85 lines (71 loc) · 2.56 KB
/
azure-pipelines.yaml
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
trigger:
batch: true
branches:
include:
- master
- releases/*
- features/*
paths:
exclude: [ 'README.md' ]
jobs:
- job: BuildWindows
pool:
vmImage: 'windows-latest'
variables:
SDK_VERSION: 0.0.50
pythonVersion: 3.10
BUILD_PATH: $(Build.BinariesDirectory)\win32
PYTHON_DIR: $(Build.BinariesDirectory)\win32\cpython-3.10.5-x86_64
PYTHON_EXE: $(Build.BinariesDirectory)\win32\cpython-3.10.5-x86_64\python.exe
PYTHON_SCRIPTS_DIR: $(Build.BinariesDirectory)\win32\cpython-3.10.5-x86_64\Scripts
SDK_HOME_DIR: $(Build.BinariesDirectory)\win32\SDK_HOME_DIR
SDK_REPO_DIR: $(Build.BinariesDirectory)\win32\sdk_repo
SDK_LOG_LEVEL: DEBUG
SDK_PORTABLE_MODE: 1
SDK_SKIP_POSTGRES_INIT: 1
steps:
- script: |
mkdir -p $(SDK_HOME_DIR)
- template: windows.yaml
- job: BuildLinux
pool:
vmImage: 'ubuntu-22.04'
variables:
SDK_VERSION: 0.0.50
pythonVersion: 3.10
BUILD_PATH: $(Build.BinariesDirectory)/linux
PYTHON_DIR: $(Build.BinariesDirectory)/linux/cpython-3.10.5-x86_64
PYTHON_EXE: $(Build.BinariesDirectory)/linux/cpython-3.10.5-x86_64/python/install/bin/python3
PYTHON_SCRIPTS_DIR: $(Build.BinariesDirectory)/linux/cpython-3.10.5-x86_64/python/install/bin
SDK_HOME_DIR: $(Build.BinariesDirectory)/linux/SDK_HOME_DIR
SDK_REPO_DIR: $(Build.BinariesDirectory)/linux/sdk_repo
PYTHON_SITE_PACKAGES: $(Build.BinariesDirectory)/linux/cpython-3.10.5-x86_64/python/install/lib/python$(pythonVersion)/site-packages
SDK_LOG_LEVEL: DEBUG
SDK_POSTGRES_PORT: 55432
SDK_PORTABLE_MODE: 1
SDK_SKIP_POSTGRES_INIT: 1
steps:
- script: |
mkdir -p $(SDK_HOME_DIR)
- template: linux.yaml
- job: BuildMacOSX
pool:
vmImage: 'macOS-latest'
variables:
SDK_VERSION: 0.0.50
pythonVersion: 3.10
BUILD_PATH: $(Build.BinariesDirectory)/macos
PYTHON_DIR: $(Build.BinariesDirectory)/macos/cpython-3.10.5-x86_64
PYTHON_EXE: $(Build.BinariesDirectory)/macos/cpython-3.10.5-x86_64/python/install/bin/python3
PYTHON_SCRIPTS_DIR: $(Build.BinariesDirectory)/macos/cpython-3.10.5-x86_64/python/install/bin
SDK_HOME_DIR: $(Build.BinariesDirectory)/macos/SDK_HOME_DIR
SDK_REPO_DIR: $(Build.BinariesDirectory)/macos/sdk_repo
PYTHON_SITE_PACKAGES: $(Build.BinariesDirectory)/macos/cpython-3.10.5-x86_64/python/install/lib/python$(pythonVersion)/site-packages
SDK_LOG_LEVEL: DEBUG
SDK_POSTGRES_PORT: 55432
SDK_PORTABLE_MODE: 1
SDK_SKIP_POSTGRES_INIT: 1
steps :
- script: |
mkdir -p $(SDK_HOME_DIR)
- template: macos.yaml