forked from IcebergThings/weston
-
Notifications
You must be signed in to change notification settings - Fork 22
/
azure-pipelines.yml
137 lines (123 loc) · 3.67 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
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# This pipeline will just build Weston to be sure we dont break
resources:
repositories:
- repository: FreeRDP
type: github
endpoint: GitHub connection 1
name: microsoft/FreeRDP-mirror
ref: working
trigger:
- working
pool:
vmImage: 'ubuntu-20.04'
variables:
prefix: '/usr/local'
steps:
- checkout: FreeRDP
- checkout: self
- script: sudo apt-get update && sudo apt-get install --no-install-recommends -y
build-essential
cmake
git
libcairo2-dev
libcolord-dev
libdbus-glib-1-dev
libdrm-dev
libffi-dev
libgbm-dev
libgles2-mesa-dev
libgstreamer-plugins-base1.0-dev
libgstreamer1.0-dev
libinput-dev
libjpeg-dev
liblcms2-dev
libpam-dev
libpango1.0-dev
libpixman-1-dev
libssl-dev
libsystemd-dev
libtool
libudev-dev
libudev-dev
libusb-1.0-0-dev
libva-dev
libwebp-dev
libx11-dev
libx11-xcb-dev
libxcb-composite0-dev
libxcb-xkb-dev
libxcursor-dev
libxdamage-dev
libxext-dev
libxfixes-dev
libxi-dev
libxinerama-dev
libxkbcommon-dev
libxkbfile-dev
libxml2-dev
libxrandr-dev
libxrender-dev
libxtst-dev
libxv-dev
lsb-release
python3-setuptools
python3-pip
ninja-build
pkg-config
software-properties-common
squashfs-tools
uuid-dev
libwayland-dev
wayland-protocols
wget
displayName: 'Install Dependencies'
- script: cmake -G Ninja
-B build
-DCMAKE_INSTALL_PREFIX=$(prefix)
-DCMAKE_INSTALL_LIBDIR=$(prefix)/lib
-DCMAKE_BUILD_TYPE=RelWithDebInfo
-DWITH_SERVER=ON
-DWITH_CHANNEL_GFXREDIR=ON
-DWITH_CHANNEL_RDPAPPLIST=ON
-DWITH_CLIENT=OFF
-DWITH_CLIENT_COMMON=OFF
-DWITH_CLIENT_CHANNELS=OFF
-DWITH_CLIENT_INTERFACE=OFF
-DWITH_PROXY=OFF
-DWITH_SHADOW=OFF
-DWITH_SAMPLE=OFF
workingDirectory: ./FreeRDP-mirror
displayName: 'CMake (Ninja)'
- script: ninja -C build -j8
workingDirectory: ./FreeRDP-mirror
displayName: 'Ninja build'
- script: sudo ninja -C build install
workingDirectory: ./FreeRDP-mirror
displayName: 'Ninja Install (FreeRDP)'
- script: sudo pip3 install meson
displayName: 'Install Meson (from PIP)'
- script: meson --prefix=$(prefix) build
-Dbackend-default=rdp
-Dbackend-drm=false
-Dbackend-drm-screencast-vaapi=false
-Dbackend-headless=false
-Dbackend-wayland=false
-Dbackend-x11=false
-Dbackend-fbdev=false
-Dscreenshare=false
-Dremoting=false
-Dpipewire=false
-Dshell-fullscreen=false
-Dshell-ivi=false
-Dshell-kiosk=false
-Ddemo-clients=false
-Dsimple-clients=[]
-Dtools=[]
-Dresize-pool=false
-Dwcap-decode=false
-Dtest-junit-xml=false
workingDirectory: ./weston-mirror
displayName: 'Meson (weston)'
- script: ninja -C build -j8
workingDirectory: ./weston-mirror
displayName: 'Ninja (weston)'