-
Notifications
You must be signed in to change notification settings - Fork 70
/
appveyor-build-linux-images.yml
63 lines (49 loc) · 2.07 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
environment:
matrix:
- job_name: Ubuntu 22.04 on GCE us-central1
APPVEYOR_BUILD_WORKER_IMAGE: base-ubuntu-2204-gce-us-central1
APPVEYOR_BAKE_IMAGE: ubuntu2204-master-gce-us-central1
BUILD_AGENT_MODE: GCE
- job_name: Ubuntu 20.04 on GCE us-central1
APPVEYOR_BUILD_WORKER_IMAGE: base-ubuntu-2004-gce-us-central1
APPVEYOR_BAKE_IMAGE: ubuntu2004-master-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-master-gce-us-central1
BUILD_AGENT_MODE: GCE
- job_name: Ubuntu 22.04 on Hyper-V
APPVEYOR_BUILD_WORKER_IMAGE: base-ubuntu-2204-hyperv
APPVEYOR_BAKE_IMAGE: ubuntu2204-master
BUILD_AGENT_MODE: HyperV
- job_name: Ubuntu 20.04 on Hyper-V
APPVEYOR_BUILD_WORKER_IMAGE: base-ubuntu-2004-hyperv
APPVEYOR_BAKE_IMAGE: ubuntu2004-master
BUILD_AGENT_MODE: HyperV
- job_name: Ubuntu 18.04 on Hyper-V
APPVEYOR_BUILD_WORKER_IMAGE: base-ubuntu-1804-hyperv
APPVEYOR_BAKE_IMAGE: ubuntu1804-master
BUILD_AGENT_MODE: HyperV
# - job_name: Ubuntu 18.04 on Azure West US
# APPVEYOR_BUILD_WORKER_IMAGE: base-ubuntu-1804-azure-westus
# APPVEYOR_BAKE_IMAGE: ubuntu1804-master-azure-westus
# BUILD_AGENT_MODE: Azure
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 cp ./rvm_wrapper.sh /usr/bin/rvm
- sudo chmod +x /usr/bin/rvm
- 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