@@ -28,6 +28,7 @@ name: CI
2828 - " **"
2929permissions :
3030 contents : read
31+ packages : write
3132defaults :
3233 run :
3334 shell : bash
4243 CI_JOB_NAME : " ${{ matrix.name }}"
4344 CARGO_REGISTRIES_CRATES_IO_PROTOCOL : sparse
4445 HEAD_SHA : " ${{ github.event.pull_request.head.sha || github.sha }}"
46+ DOCKER_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
4547 SCCACHE_BUCKET : rust-lang-ci-sccache2
4648 TOOLSTATE_REPO : " https://github.com/rust-lang-nursery/rust-toolstate"
4749 CACHE_DOMAIN : ci-caches.rust-lang.org
@@ -172,6 +174,7 @@ jobs:
172174 CI_JOB_NAME : " ${{ matrix.name }}"
173175 CARGO_REGISTRIES_CRATES_IO_PROTOCOL : sparse
174176 HEAD_SHA : " ${{ github.event.pull_request.head.sha || github.sha }}"
177+ DOCKER_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
175178 SCCACHE_BUCKET : rust-lang-ci-sccache2
176179 DEPLOY_BUCKET : rust-lang-ci2
177180 TOOLSTATE_REPO : " https://github.com/rust-lang-nursery/rust-toolstate"
@@ -291,7 +294,7 @@ jobs:
291294 - name : x86_64-gnu-integration
292295 env :
293296 CI_ONLY_WHEN_CHANNEL : nightly
294- os : ubuntu-20.04-16core-64gb
297+ os : ubuntu-20.04-8core-32gb
295298 - name : x86_64-gnu-debug
296299 os : ubuntu-20.04-8core-32gb
297300 env : {}
@@ -316,7 +319,7 @@ jobs:
316319 - name : dist-x86_64-apple
317320 env :
318321 SCRIPT : " ./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin"
319- RUST_CONFIGURE_ARGS : " --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin"
322+ RUST_CONFIGURE_ARGS : " --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set rust.lto=thin"
320323 RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
321324 MACOSX_DEPLOYMENT_TARGET : 10.12
322325 SELECT_XCODE : /Applications/Xcode_13.4.1.app
@@ -329,7 +332,7 @@ jobs:
329332 - name : dist-apple-various
330333 env :
331334 SCRIPT : " ./x.py dist bootstrap --include-default-paths --host='' --target=aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim"
332- RUST_CONFIGURE_ARGS : " --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false "
335+ RUST_CONFIGURE_ARGS : " --enable-sanitizers --enable-profiler --set rust.jemalloc"
333336 RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
334337 MACOSX_DEPLOYMENT_TARGET : 10.12
335338 SELECT_XCODE : /Applications/Xcode_13.4.1.app
@@ -340,7 +343,7 @@ jobs:
340343 - name : x86_64-apple-1
341344 env :
342345 SCRIPT : " ./x.py --stage 2 test --skip tests/ui --skip tests/rustdoc --skip tests/run-make-fulldeps"
343- RUST_CONFIGURE_ARGS : " --build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false "
346+ RUST_CONFIGURE_ARGS : " --build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc"
344347 RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
345348 MACOSX_DEPLOYMENT_TARGET : 10.12
346349 MACOSX_STD_DEPLOYMENT_TARGET : 10.12
@@ -351,7 +354,7 @@ jobs:
351354 - name : x86_64-apple-2
352355 env :
353356 SCRIPT : " ./x.py --stage 2 test tests/ui tests/rustdoc tests/run-make-fulldeps"
354- RUST_CONFIGURE_ARGS : " --build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false "
357+ RUST_CONFIGURE_ARGS : " --build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc"
355358 RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
356359 MACOSX_DEPLOYMENT_TARGET : 10.12
357360 MACOSX_STD_DEPLOYMENT_TARGET : 10.12
@@ -361,8 +364,8 @@ jobs:
361364 os : macos-13
362365 - name : dist-aarch64-apple
363366 env :
364- SCRIPT : " ./x.py dist bootstrap --include-default-paths --stage 2 "
365- RUST_CONFIGURE_ARGS : " --build=x86_64-apple-darwin --host=aarch64-apple-darwin --target=aarch64-apple-darwin -- enable-full-tools --enable-sanitizers --enable-profiler --disable-docs -- set rust.jemalloc --set llvm.ninja=false"
367+ SCRIPT : " ./x.py dist bootstrap --include-default-paths --host=aarch64-apple-darwin --target=aarch64-apple-darwin "
368+ RUST_CONFIGURE_ARGS : " --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin "
366369 RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
367370 SELECT_XCODE : /Applications/Xcode_13.4.1.app
368371 USE_XCODE_CLANG : 1
@@ -372,8 +375,20 @@ jobs:
372375 NO_DEBUG_ASSERTIONS : 1
373376 NO_OVERFLOW_CHECKS : 1
374377 DIST_REQUIRE_ALL_TOOLS : 1
375- JEMALLOC_SYS_WITH_LG_PAGE : 14
376- os : macos-13
378+ os : macos-14
379+ - name : aarch64-apple
380+ env :
381+ SCRIPT : " ./x.py --stage 2 test --host=aarch64-apple-darwin --target=aarch64-apple-darwin"
382+ RUST_CONFIGURE_ARGS : " --enable-sanitizers --enable-profiler --set rust.jemalloc"
383+ RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
384+ SELECT_XCODE : /Applications/Xcode_13.4.1.app
385+ USE_XCODE_CLANG : 1
386+ MACOSX_DEPLOYMENT_TARGET : 11.0
387+ MACOSX_STD_DEPLOYMENT_TARGET : 11.0
388+ NO_LLVM_ASSERTIONS : 1
389+ NO_DEBUG_ASSERTIONS : 1
390+ NO_OVERFLOW_CHECKS : 1
391+ os : macos-14
377392 - name : x86_64-msvc
378393 env :
379394 RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-msvc --enable-profiler"
@@ -554,6 +569,7 @@ jobs:
554569 CI_JOB_NAME : " ${{ matrix.name }}"
555570 CARGO_REGISTRIES_CRATES_IO_PROTOCOL : sparse
556571 HEAD_SHA : " ${{ github.event.pull_request.head.sha || github.sha }}"
572+ DOCKER_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
557573 SCCACHE_BUCKET : rust-lang-ci-sccache2
558574 DEPLOY_BUCKET : rust-lang-ci2
559575 TOOLSTATE_REPO : " https://github.com/rust-lang-nursery/rust-toolstate"
0 commit comments