forked from appveyor/build-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor-build-linux-images.yml
71 lines (55 loc) · 2.46 KB
/
appveyor-build-linux-images.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
environment:
matrix:
- job_name: Ubuntu 20.04 on GCE us-central1
APPVEYOR_BUILD_WORKER_IMAGE: base-ubuntu-2004-gce-us-central1
APPVEYOR_BAKE_IMAGE: ubuntu2004-${APPVEYOR_REPO_BRANCH}-gce-us-central1
BUILD_AGENT_MODE: GCE
- job_name: Ubuntu 18.04 on GCE us-central1
APPVEYOR_BUILD_WORKER_IMAGE: base-ubuntu-1804-gce-us-central1
APPVEYOR_BAKE_IMAGE: ubuntu1804-${APPVEYOR_REPO_BRANCH}-gce-us-central1
BUILD_AGENT_MODE: GCE
- job_name: Ubuntu 16.04 on GCE us-central1
APPVEYOR_BUILD_WORKER_IMAGE: base-ubuntu-1604-gce-us-central1
APPVEYOR_BAKE_IMAGE: ubuntu1604-${APPVEYOR_REPO_BRANCH}-gce-us-central1
BUILD_AGENT_MODE: GCE
- job_name: Ubuntu 20.04 on Azure West US
APPVEYOR_BUILD_WORKER_IMAGE: base-ubuntu-2004-azure-westus
APPVEYOR_BAKE_IMAGE: ubuntu2004-${APPVEYOR_REPO_BRANCH}-azure-westus
BUILD_AGENT_MODE: Azure
- job_name: Ubuntu 18.04 on Azure West US
APPVEYOR_BUILD_WORKER_IMAGE: base-ubuntu-1804-azure-westus
APPVEYOR_BAKE_IMAGE: ubuntu1804-${APPVEYOR_REPO_BRANCH}-azure-westus
BUILD_AGENT_MODE: Azure
- job_name: Ubuntu 16.04 on Azure West US
APPVEYOR_BUILD_WORKER_IMAGE: base-ubuntu-1604-azure-westus
APPVEYOR_BAKE_IMAGE: ubuntu1604-${APPVEYOR_REPO_BRANCH}-azure-westus
BUILD_AGENT_MODE: Azure
- job_name: Ubuntu 20.04 on Hyper-V
APPVEYOR_BUILD_WORKER_IMAGE: base-ubuntu-2004-hyperv
APPVEYOR_BAKE_IMAGE: ubuntu2004-${APPVEYOR_REPO_BRANCH}
BUILD_AGENT_MODE: HyperV
- job_name: Ubuntu 18.04 on Hyper-V
APPVEYOR_BUILD_WORKER_IMAGE: base-ubuntu-1804-hyperv
APPVEYOR_BAKE_IMAGE: ubuntu1804-${APPVEYOR_REPO_BRANCH}
BUILD_AGENT_MODE: HyperV
- job_name: Ubuntu 16.04 on Hyper-V
APPVEYOR_BUILD_WORKER_IMAGE: base-ubuntu-1604-hyperv
APPVEYOR_BAKE_IMAGE: ubuntu1604-${APPVEYOR_REPO_BRANCH}
BUILD_AGENT_MODE: HyperV
BASE_DIR: src/build-images-${APPVEYOR_REPO_COMMIT}/scripts/Ubuntu
BOOTSTRAP: true
#APPVEYOR_CONSOLE_DISABLE_PTY: true
clone_folder: ${HOME}/bake-scripts
init:
- appveyor version
- source /etc/os-release && echo $PRETTY_NAME
clone_script:
- curl -fsSL "https://github.com/appveyor/build-images/archive/$APPVEYOR_REPO_COMMIT.tar.gz" -o scripts.tar.gz
- mkdir src && tar -zxf scripts.tar.gz -C $APPVEYOR_BUILD_FOLDER/src
build_script:
- cd $BASE_DIR && pwd
- sudo -E ./basicconfig.sh
- appveyor PushArtifact versions.log
test: off
#on_failure:
#- sh: curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e