5656 CI_JOB_NAME : " ${{ matrix.image }}"
5757 CARGO_REGISTRIES_CRATES_IO_PROTOCOL : sparse
5858 HEAD_SHA : " ${{ github.event.pull_request.head.sha || github.sha }}"
59- DOCKER_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
60- SCCACHE_BUCKET : rust-lang-ci-sccache2
59+ SCCACHE_BUCKET : cached-ci-artifacts
60+ SCCACHE_REGION : us-east-2
61+ SCCACHE_S3_NO_CREDENTIALS : 1
6162 TOOLSTATE_REPO : " https://github.com/rust-lang-nursery/rust-toolstate"
6263 CACHE_DOMAIN : cached-ci-artifacts.s3.us-east-2.amazonaws.com
6364 continue-on-error : " ${{ matrix.continue_on_error || false }}"
7778 env : {}
7879 - name : sbf-solana-solana
7980 tidy : false
80- os : ubuntu-latest
81+ os : ubuntu-20.04-16core-64gb
8182 env : {}
8283 - name : x86_64-gnu-tools
8384 os : ubuntu-20.04-16core-64gb
@@ -175,6 +176,8 @@ jobs:
175176 name : push
176177 env :
177178 CI_JOB_NAME : " ${{ matrix.name }}"
179+ CARGO_REGISTRIES_CRATES_IO_PROTOCOL : sparse
180+ HEAD_SHA : " ${{ github.event.pull_request.head.sha || github.sha }}"
178181 SCCACHE_BUCKET : cached-ci-artifacts
179182 SCCACHE_REGION : us-east-2
180183 DEPLOY_BUCKET : rust-lang-ci2
@@ -183,19 +186,20 @@ jobs:
183186 TOOLSTATE_PUBLISH : 0
184187 CACHES_AWS_ACCESS_KEY_ID : AKIASSXOBJJGY5HRQO4U
185188 ARTIFACTS_AWS_ACCESS_KEY_ID : AKIA46X5W6CZN24CBO55
186- CACHE_DOMAIN : cached-ci-artifacts.s3.us-east-2.amazonaws.com
189+ AWS_REGION : us-west-1
190+ CACHE_DOMAIN : ci-caches.rust-lang.org
187191 if : " github.event_name == 'push' && startsWith(github.ref, 'refs/heads/solana-') && github.repository == 'solana-labs/rust'"
188192 strategy :
189193 matrix :
190194 include :
191195 - name : mingw-check
192- os : ubuntu-latest
196+ os : ubuntu-20.04-16core-64gb
193197 env : {}
194198 - name : x86_64-gnu-llvm-12
195- os : ubuntu-latest
199+ os : ubuntu-20.04-16core-64gb
196200 env : {}
197201 - name : sbf-solana-solana
198- os : ubuntu-latest
202+ os : ubuntu-20.04-16core-64gb
199203 env : {}
200204 timeout-minutes : 600
201205 runs-on : " ${{ matrix.os }}"
@@ -219,20 +223,12 @@ jobs:
219223 - name : decide whether to skip this job
220224 run : src/ci/scripts/should-skip-this.sh
221225 if : success() && !env.SKIP_JOB
222- - name : configure GitHub Actions to kill the build when outdated
223- uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
224- with :
225- github_token : " ${{ secrets.github_token }}"
226- if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try' && github.ref != 'refs/heads/try-perf'"
227226 - name : collect CPU statistics
228227 run : src/ci/scripts/collect-cpu-stats.sh
229228 if : success() && !env.SKIP_JOB
230229 - name : show the current environment
231230 run : src/ci/scripts/dump-environment.sh
232231 if : success() && !env.SKIP_JOB
233- - name : install awscli
234- run : src/ci/scripts/install-awscli.sh
235- if : success() && !env.SKIP_JOB
236232 - name : install sccache
237233 run : src/ci/scripts/install-sccache.sh
238234 if : success() && !env.SKIP_JOB
@@ -284,6 +280,17 @@ jobs:
284280 AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
285281 TOOLSTATE_REPO_ACCESS_TOKEN : " ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
286282 if : success() && !env.SKIP_JOB
283+ - name : create github artifacts
284+ run : src/ci/scripts/create-doc-artifacts.sh
285+ if : success() && !env.SKIP_JOB
286+ - name : upload artifacts to github
287+ uses : actions/upload-artifact@v3
288+ with :
289+ name : " ${{ env.DOC_ARTIFACT_NAME }}"
290+ path : obj/artifacts/doc
291+ if-no-files-found : ignore
292+ retention-days : 5
293+ if : success() && !env.SKIP_JOB
287294 - name : upload artifacts to S3
288295 run : src/ci/scripts/upload-artifacts.sh
289296 env :
@@ -297,7 +304,8 @@ jobs:
297304 CI_JOB_NAME : " ${{ matrix.name }}"
298305 CARGO_REGISTRIES_CRATES_IO_PROTOCOL : sparse
299306 HEAD_SHA : " ${{ github.event.pull_request.head.sha || github.sha }}"
300- SCCACHE_BUCKET : rust-lang-ci-sccache2
307+ SCCACHE_BUCKET : cached-ci-artifacts
308+ SCCACHE_REGION : us-east-2
301309 DEPLOY_BUCKET : rust-lang-ci2
302310 TOOLSTATE_REPO : " https://github.com/rust-lang-nursery/rust-toolstate"
303311 TOOLSTATE_ISSUES_API_URL : " https://api.github.com/repos/rust-lang/rust/issues"
@@ -603,9 +611,6 @@ jobs:
603611 - name : decide whether to skip this job
604612 run : src/ci/scripts/should-skip-this.sh
605613 if : success() && !env.SKIP_JOB
606- - name : ensure the channel matches the target branch
607- run : src/ci/scripts/verify-channel.sh
608- if : success() && !env.SKIP_JOB
609614 - name : collect CPU statistics
610615 run : src/ci/scripts/collect-cpu-stats.sh
611616 if : success() && !env.SKIP_JOB
@@ -694,7 +699,8 @@ jobs:
694699 CI_JOB_NAME : " ${{ matrix.name }}"
695700 CARGO_REGISTRIES_CRATES_IO_PROTOCOL : sparse
696701 HEAD_SHA : " ${{ github.event.pull_request.head.sha || github.sha }}"
697- SCCACHE_BUCKET : rust-lang-ci-sccache2
702+ SCCACHE_BUCKET : cached-ci-artifacts
703+ SCCACHE_REGION : us-east-2
698704 DEPLOY_BUCKET : rust-lang-ci2
699705 TOOLSTATE_REPO : " https://github.com/rust-lang-nursery/rust-toolstate"
700706 TOOLSTATE_ISSUES_API_URL : " https://api.github.com/repos/rust-lang/rust/issues"
@@ -733,9 +739,6 @@ jobs:
733739 - name : decide whether to skip this job
734740 run : src/ci/scripts/should-skip-this.sh
735741 if : success() && !env.SKIP_JOB
736- - name : ensure the channel matches the target branch
737- run : src/ci/scripts/verify-channel.sh
738- if : success() && !env.SKIP_JOB
739742 - name : collect CPU statistics
740743 run : src/ci/scripts/collect-cpu-stats.sh
741744 if : success() && !env.SKIP_JOB
0 commit comments