@@ -48,103 +48,12 @@ steps:
48
48
- bash : python src/ci/cpu-usage-over-time.py &> cpu-usage.csv &
49
49
displayName : " Collect CPU-usage statistics in the background"
50
50
51
- - bash : src/ci/scripts/dump-environment.sh
52
- displayName : Show the current environment
53
-
54
- - bash : src/ci/scripts/install-sccache.sh
55
- env :
56
- AGENT_OS : $(Agent.OS)
57
- displayName : Install sccache
58
- condition : and(succeeded(), not(variables.SKIP_JOB))
59
-
60
- - bash : src/ci/scripts/install-clang.sh
61
- env :
62
- AGENT_OS : $(Agent.OS)
63
- displayName : Install clang
64
- condition : and(succeeded(), not(variables.SKIP_JOB))
65
-
66
- - bash : src/ci/scripts/switch-xcode.sh
67
- env :
68
- AGENT_OS : $(Agent.OS)
69
- displayName : Switch to Xcode 9.3
70
- condition : and(succeeded(), not(variables.SKIP_JOB))
71
-
72
- - bash : src/ci/scripts/install-wix.sh
73
- env :
74
- AGENT_OS : $(Agent.OS)
75
- displayName : Install wix
76
- condition : and(succeeded(), not(variables.SKIP_JOB))
77
-
78
- - bash : src/ci/scripts/install-innosetup.sh
79
- env :
80
- AGENT_OS : $(Agent.OS)
81
- displayName : Install InnoSetup
82
- condition : and(succeeded(), not(variables.SKIP_JOB))
83
-
84
- - bash : src/ci/scripts/windows-symlink-build-dir.sh
85
- env :
86
- AGENT_OS : $(Agent.OS)
87
- displayName : Ensure the build happens on C:\ instead of D:\
88
- condition : and(succeeded(), not(variables.SKIP_JOB))
89
-
90
- - bash : src/ci/scripts/disable-git-crlf-conversion.sh
91
- displayName : " Disable git automatic line ending conversion (on C:/)"
92
- condition : and(succeeded(), not(variables.SKIP_JOB))
93
-
94
- - bash : src/ci/scripts/install-msys2.sh
51
+ - bash : src/ci/prepare.py
95
52
env :
96
53
AGENT_OS : $(Agent.OS)
97
54
SYSTEM_WORKFOLDER : $(System.Workfolder)
98
- displayName : Install msys2
99
- condition : and(succeeded(), not(variables.SKIP_JOB))
100
-
101
- - bash : src/ci/scripts/install-mingw.sh
102
- env :
103
- AGENT_OS : $(Agent.OS)
104
- SYSTEM_WORKFOLDER : $(System.Workfolder)
105
- displayName : Install MinGW
106
- condition : and(succeeded(), not(variables.SKIP_JOB))
107
-
108
- - bash : src/ci/scripts/install-ninja.sh
109
- env :
110
- AGENT_OS : $(Agent.OS)
111
- displayName : Install ninja
112
- condition : and(succeeded(), not(variables.SKIP_JOB))
113
-
114
- - bash : src/ci/scripts/enable-docker-ipv6.sh
115
- env :
116
- AGENT_OS : $(Agent.OS)
117
- displayName : Enable IPv6 on Docker
118
- condition : and(succeeded(), not(variables.SKIP_JOB))
119
-
120
- # Disable automatic line ending conversion (again). On Windows, when we're
121
- # installing dependencies, something switches the git configuration directory or
122
- # re-enables autocrlf. We've not tracked down the exact cause -- and there may
123
- # be multiple -- but this should ensure submodules are checked out with the
124
- # appropriate line endings.
125
- - bash : src/ci/scripts/disable-git-crlf-conversion.sh
126
- displayName : Disable git automatic line ending conversion
127
- condition : and(succeeded(), not(variables.SKIP_JOB))
128
-
129
- - bash : src/ci/scripts/checkout-submodules.sh
130
- env :
131
- AGENT_OS : $(Agent.OS)
132
- displayName : Checkout submodules
133
- condition : and(succeeded(), not(variables.SKIP_JOB))
134
-
135
- - bash : src/ci/scripts/verify-line-endings.sh
136
- env :
137
- AGENT_OS : $(Agent.OS)
138
- displayName : Verify line endings
139
- condition : and(succeeded(), not(variables.SKIP_JOB))
140
-
141
- # Ensure the `aws` CLI is installed so we can deploy later on, cache docker
142
- # images, etc.
143
- - bash : src/ci/scripts/install-awscli.sh
144
- env :
145
- AGENT_OS : $(Agent.OS)
55
+ displayName : Prepare the CI environment
146
56
condition : and(succeeded(), not(variables.SKIP_JOB))
147
- displayName : Install awscli
148
57
149
58
# Configure our CI_JOB_NAME variable which log analyzers can use for the main
150
59
# step to see what's going on.
0 commit comments