4343 CI_JOB_NAME : " ${{ matrix.name }}"
4444 CARGO_REGISTRIES_CRATES_IO_PROTOCOL : sparse
4545 HEAD_SHA : " ${{ github.event.pull_request.head.sha || github.sha }}"
46- SCCACHE_BUCKET : rust-lang-ci-sccache2
46+ SCCACHE_BUCKET : cached-ci-artifacts
47+ SCCACHE_REGION : us-east-2
48+ SCCACHE_S3_NO_CREDENTIALS : 1
4749 TOOLSTATE_REPO : " https://github.com/rust-lang-nursery/rust-toolstate"
4850 CACHE_DOMAIN : cached-ci-artifacts.s3.us-east-2.amazonaws.com
4951 if : " github.event_name == 'pull_request'"
6466 env : {}
6567 - name : sbf-solana-solana
6668 tidy : false
67- os : ubuntu-latest
69+ os : ubuntu-20.04-16core-64gb
6870 env : {}
6971 - name : x86_64-gnu-tools
7072 os : ubuntu-20.04-16core-64gb
9193 - name : decide whether to skip this job
9294 run : src/ci/scripts/should-skip-this.sh
9395 if : success() && !env.SKIP_JOB
94- - name : ensure the channel matches the target branch
95- run : src/ci/scripts/verify-channel.sh
96- if : success() && !env.SKIP_JOB
9796 - name : collect CPU statistics
9897 run : src/ci/scripts/collect-cpu-stats.sh
9998 if : success() && !env.SKIP_JOB
@@ -179,6 +178,8 @@ jobs:
179178 name : push
180179 env :
181180 CI_JOB_NAME : " ${{ matrix.name }}"
181+ CARGO_REGISTRIES_CRATES_IO_PROTOCOL : sparse
182+ HEAD_SHA : " ${{ github.event.pull_request.head.sha || github.sha }}"
182183 SCCACHE_BUCKET : cached-ci-artifacts
183184 SCCACHE_REGION : us-east-2
184185 DEPLOY_BUCKET : rust-lang-ci2
@@ -187,19 +188,20 @@ jobs:
187188 TOOLSTATE_PUBLISH : 0
188189 CACHES_AWS_ACCESS_KEY_ID : AKIASSXOBJJGY5HRQO4U
189190 ARTIFACTS_AWS_ACCESS_KEY_ID : AKIA46X5W6CZN24CBO55
190- CACHE_DOMAIN : cached-ci-artifacts.s3.us-east-2.amazonaws.com
191+ AWS_REGION : us-west-1
192+ CACHE_DOMAIN : ci-caches.rust-lang.org
191193 if : " github.event_name == 'push' && startsWith(github.ref, 'refs/heads/solana-') && github.repository == 'solana-labs/rust'"
192194 strategy :
193195 matrix :
194196 include :
195197 - name : mingw-check
196- os : ubuntu-latest
198+ os : ubuntu-20.04-16core-64gb
197199 env : {}
198200 - name : x86_64-gnu-llvm-12
199- os : ubuntu-latest
201+ os : ubuntu-20.04-16core-64gb
200202 env : {}
201203 - name : sbf-solana-solana
202- os : ubuntu-latest
204+ os : ubuntu-20.04-16core-64gb
203205 env : {}
204206 timeout-minutes : 600
205207 runs-on : " ${{ matrix.os }}"
@@ -223,20 +225,12 @@ jobs:
223225 - name : decide whether to skip this job
224226 run : src/ci/scripts/should-skip-this.sh
225227 if : success() && !env.SKIP_JOB
226- - name : configure GitHub Actions to kill the build when outdated
227- uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
228- with :
229- github_token : " ${{ secrets.github_token }}"
230- if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try' && github.ref != 'refs/heads/try-perf'"
231228 - name : collect CPU statistics
232229 run : src/ci/scripts/collect-cpu-stats.sh
233230 if : success() && !env.SKIP_JOB
234231 - name : show the current environment
235232 run : src/ci/scripts/dump-environment.sh
236233 if : success() && !env.SKIP_JOB
237- - name : install awscli
238- run : src/ci/scripts/install-awscli.sh
239- if : success() && !env.SKIP_JOB
240234 - name : install sccache
241235 run : src/ci/scripts/install-sccache.sh
242236 if : success() && !env.SKIP_JOB
@@ -288,6 +282,17 @@ jobs:
288282 AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
289283 TOOLSTATE_REPO_ACCESS_TOKEN : " ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
290284 if : success() && !env.SKIP_JOB
285+ - name : create github artifacts
286+ run : src/ci/scripts/create-doc-artifacts.sh
287+ if : success() && !env.SKIP_JOB
288+ - name : upload artifacts to github
289+ uses : actions/upload-artifact@v3
290+ with :
291+ name : " ${{ env.DOC_ARTIFACT_NAME }}"
292+ path : obj/artifacts/doc
293+ if-no-files-found : ignore
294+ retention-days : 5
295+ if : success() && !env.SKIP_JOB
291296 - name : upload artifacts to S3
292297 run : src/ci/scripts/upload-artifacts.sh
293298 env :
@@ -301,7 +306,8 @@ jobs:
301306 CI_JOB_NAME : " ${{ matrix.name }}"
302307 CARGO_REGISTRIES_CRATES_IO_PROTOCOL : sparse
303308 HEAD_SHA : " ${{ github.event.pull_request.head.sha || github.sha }}"
304- SCCACHE_BUCKET : rust-lang-ci-sccache2
309+ SCCACHE_BUCKET : cached-ci-artifacts
310+ SCCACHE_REGION : us-east-2
305311 DEPLOY_BUCKET : rust-lang-ci2
306312 TOOLSTATE_REPO : " https://github.com/rust-lang-nursery/rust-toolstate"
307313 TOOLSTATE_ISSUES_API_URL : " https://api.github.com/repos/rust-lang/rust/issues"
@@ -607,9 +613,6 @@ jobs:
607613 - name : decide whether to skip this job
608614 run : src/ci/scripts/should-skip-this.sh
609615 if : success() && !env.SKIP_JOB
610- - name : ensure the channel matches the target branch
611- run : src/ci/scripts/verify-channel.sh
612- if : success() && !env.SKIP_JOB
613616 - name : collect CPU statistics
614617 run : src/ci/scripts/collect-cpu-stats.sh
615618 if : success() && !env.SKIP_JOB
@@ -698,7 +701,8 @@ jobs:
698701 CI_JOB_NAME : " ${{ matrix.name }}"
699702 CARGO_REGISTRIES_CRATES_IO_PROTOCOL : sparse
700703 HEAD_SHA : " ${{ github.event.pull_request.head.sha || github.sha }}"
701- SCCACHE_BUCKET : rust-lang-ci-sccache2
704+ SCCACHE_BUCKET : cached-ci-artifacts
705+ SCCACHE_REGION : us-east-2
702706 DEPLOY_BUCKET : rust-lang-ci2
703707 TOOLSTATE_REPO : " https://github.com/rust-lang-nursery/rust-toolstate"
704708 TOOLSTATE_ISSUES_API_URL : " https://api.github.com/repos/rust-lang/rust/issues"
@@ -737,9 +741,6 @@ jobs:
737741 - name : decide whether to skip this job
738742 run : src/ci/scripts/should-skip-this.sh
739743 if : success() && !env.SKIP_JOB
740- - name : ensure the channel matches the target branch
741- run : src/ci/scripts/verify-channel.sh
742- if : success() && !env.SKIP_JOB
743744 - name : collect CPU statistics
744745 run : src/ci/scripts/collect-cpu-stats.sh
745746 if : success() && !env.SKIP_JOB
0 commit comments