-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.azure-pipelines.yml
53 lines (47 loc) · 2.23 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
#--------------------------------------------------------------------------------------------------
# Windows
#--------------------------------------------------------------------------------------------------
jobs:
#--------------------------------------------------------------------------------------------------
# macOS
#--------------------------------------------------------------------------------------------------
#--------------------------------------------------------------------------------------------------
# Linux
#--------------------------------------------------------------------------------------------------
#- job: linux64
# pool:
# vmImage: "ubuntu-latest"
# steps:
# - bash: |
# docker run -d --name ubuntu -v $PWD:/VLC amd64/ubuntu:18.04 tail -f /dev/null
# docker exec -t ubuntu bash -c "cd /VLC/..;
# sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list;
# apt-get update;
# apt-get -y install sudo zip git;
# git clone https://github.com/omega-gg/VLC;
# cd VLC;
# sh build.sh linux;
# cd deploy;
# zip -rq ../VLC.zip *"
# - publish: $(System.DefaultWorkingDirectory)/VLC.zip
# artifact: VLC-linux64
#--------------------------------------------------------------------------------------------------
# Android
#--------------------------------------------------------------------------------------------------
- job: android
timeoutInMinutes: 120
pool:
vmImage: "ubuntu-latest"
steps:
- bash: |
docker build -t debian-vlc-android debian-vlc-android
chmod 777 .
docker run -d --name ubuntu -v $PWD:/VLC debian-vlc-android tail -f /dev/null
docker exec -t ubuntu bash -c "cd /VLC;
git clone https://github.com/omega-gg/VLC;
cd VLC;
sh build.sh android"
cd VLC/deploy
sudo zip -rq ../../VLC.zip *
- publish: $(System.DefaultWorkingDirectory)/VLC.zip
artifact: VLC-android