File tree Expand file tree Collapse file tree 7 files changed +18
-18
lines changed Expand file tree Collapse file tree 7 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 1
1
#
2
2
# Azure Pipelines "auto" branch build for Rust on Linux, macOS, and Windows.
3
- #
3
+ #
4
4
5
5
pr : none
6
6
trigger :
33
33
IMAGE : dist-x86_64-linux
34
34
DEPLOY_ALT : 1
35
35
36
- # Linux builders, remaining docker images
36
+ # Linux builders, remaining docker images
37
37
arm-android :
38
38
IMAGE : arm-android
39
39
@@ -157,7 +157,7 @@ jobs:
157
157
steps :
158
158
- checkout : self
159
159
fetchDepth : 2
160
- - template : steps/macos.yml
160
+ - template : steps/macos.yml
161
161
strategy :
162
162
matrix :
163
163
# macOS builders. These are placed near the beginning because they are very
@@ -200,7 +200,7 @@ jobs:
200
200
# # temp disabled
201
201
# # https://github.com/johnterickson/rust/issues/18
202
202
# i686-apple:
203
- # RUST_CHECK_TARGET: check
203
+ # RUST_CHECK_TARGET: check
204
204
# RUST_CONFIGURE_ARGS: --build=i686-apple-darwin --set rust.jemalloc
205
205
# RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
206
206
# MACOSX_DEPLOYMENT_TARGET: 10.8
Original file line number Diff line number Diff line change 9
9
pool :
10
10
vmImage : ubuntu-16.04
11
11
12
- steps :
12
+ steps :
13
13
- checkout : self
14
14
fetchDepth : 2
15
15
19
19
# FIXME(pietro): committing is disabled until we switch to Azure Pipelines
20
20
# as the source of truth, or until we setup a separate test repo.
21
21
#commit_toolstate_change "$MESSAGE_FILE" "$BUILD_SOURCESDIRECTORY/src/tools/publish_toolstate.py" "$(git rev-parse HEAD)" "$(git log --format=%s -n1 HEAD)" "$MESSAGE_FILE" "$TOOLSTATE_REPO_ACCESS_TOKEN"
22
- displayName : Publish toolstate
22
+ displayName : Publish toolstate
23
23
env :
24
24
TOOLSTATE_REPO_ACCESS_TOKEN : $(TOOLSTATE_REPO_ACCESS_TOKEN_SECRET)
Original file line number Diff line number Diff line change 1
1
#
2
2
# Azure Pipelines pull request build for Rust
3
- #
3
+ #
4
4
5
5
trigger : none
6
6
pr :
20
20
matrix :
21
21
x86_64-gnu-llvm-6.0 :
22
22
RUST_BACKTRACE : 1
23
-
23
+
24
24
x86_64-gnu-tools : {}
25
25
# if: branch = auto OR (type = pull_request AND commit_message =~ /(?i:^update.*\b(rls|rustfmt|clippy|miri|cargo)\b)/)
26
26
mingw-check : {}
Original file line number Diff line number Diff line change 7
7
8
8
- bash : |
9
9
sudo apt install gdb
10
-
10
+
11
11
curl -fo $HOME/stamp https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/2017-03-17-stamp-x86_64-unknown-linux-musl
12
12
chmod +x $HOME/stamp
13
-
13
+
14
14
export PATH=$PATH:$HOME/.local/bin:$HOME/Library/Python/2.7/bin/:$HOME
15
15
echo "##vso[task.setvariable variable=PATH;]$PATH"
16
16
Original file line number Diff line number Diff line change 25
25
displayName : install a tar that works well
26
26
27
27
- bash : |
28
- curl -f http://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-apple-darwin.tar.xz | tar xJf -
28
+ curl -f http://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-apple-darwin.tar.xz | tar xJf -
29
29
displayName : Download clang
30
-
30
+
31
31
- bash : |
32
32
brew update
33
33
brew install xz
Original file line number Diff line number Diff line change 7
7
git submodule
8
8
export SUBMODULES_EXCLUDES=$(git submodule | grep -Eow 'src/[^ ]+' | sed 's/\(.*\)/--exclude=\1\/\.git/')
9
9
echo "##vso[task.setvariable variable=SUBMODULES_EXCLUDES;]$SUBMODULES_EXCLUDES"
10
-
10
+
11
11
- script : |
12
12
REM echo hack as drive D is too small
13
13
IF NOT "%DISABLE_DISK_SPACE_HACK%"=="1" (
19
19
set MSYS_PATH=%CD%\citools\msys64
20
20
choco install msys2 --params="/InstallDir:%MSYS_PATH% /NoPath" -y
21
21
set PATH=%MSYS_PATH%\usr\bin;%PATH%
22
- pacman -S --noconfirm --needed base-devel ca-certificates make diffutils tar
22
+ pacman -S --noconfirm --needed base-devel ca-certificates make diffutils tar
23
23
IF "%MINGW_URL%"=="" (
24
24
IF "%MSYS_BITS%"=="32" pacman -S --noconfirm --needed mingw-w64-i686-toolchain mingw-w64-i686-cmake mingw-w64-i686-gcc mingw-w64-i686-python2
25
25
IF "%MSYS_BITS%"=="64" pacman -S --noconfirm --needed mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake mingw-w64-x86_64-gcc mingw-w64-x86_64-python2
@@ -135,7 +135,7 @@ steps:
135
135
136
136
- script : |
137
137
REM echo force the specific VS version https://github.com/johnterickson/rust/issues/8
138
- IF "%VCVARS_BAT%" NEQ "" (
138
+ IF "%VCVARS_BAT%" NEQ "" (
139
139
CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\%VCVARS_BAT%"
140
140
)
141
141
@@ -144,10 +144,10 @@ steps:
144
144
set | findstr /v SCCACHE_AZURE_CONNECTION_STRING
145
145
146
146
if not exist D:\cache\rustsrc\NUL mkdir D:\cache\rustsrc
147
-
147
+
148
148
sh src/ci/init_repo.sh . /d/cache/rustsrc
149
149
sh src/ci/run.sh
150
- env :
150
+ env :
151
151
CI : true
152
152
CI_JOB_NAME : $(System.JobDisplayName)
153
153
SRC : .
Original file line number Diff line number Diff line change 1
1
#
2
2
# Azure Pipelines "try" branch build for Rust
3
- #
3
+ #
4
4
5
5
pr : none
6
6
trigger :
You can’t perform that action at this time.
0 commit comments