ci.yml (rustc-1.45.0-src.tar.xz) | : | ci.yml (rustc-1.45.2-src.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 82 | skipping to change at line 82 | |||
- &step | - &step | |||
if: success() && !env.SKIP_JOB | if: success() && !env.SKIP_JOB | |||
- &base-ci-job | - &base-ci-job | |||
timeout-minutes: 600 | timeout-minutes: 600 | |||
runs-on: "${{ matrix.os }}" | runs-on: "${{ matrix.os }}" | |||
env: *shared-ci-variables | env: *shared-ci-variables | |||
steps: | steps: | |||
- name: disable git crlf conversion | - name: disable git crlf conversion | |||
run: git config --global core.autocrlf false | run: git config --global core.autocrlf false | |||
shell: bash | ||||
- name: checkout the source code | - name: checkout the source code | |||
uses: actions/checkout@v1 | uses: actions/checkout@v1 | |||
with: | with: | |||
fetch-depth: 2 | fetch-depth: 2 | |||
- name: configure GitHub Actions to kill the build when outdated | - name: configure GitHub Actions to kill the build when outdated | |||
uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master | uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master | |||
with: | with: | |||
github_token: "${{ secrets.github_token }}" | github_token: "${{ secrets.github_token }}" | |||
skipping to change at line 150 | skipping to change at line 149 | |||
<<: *step | <<: *step | |||
- name: disable git crlf conversion | - name: disable git crlf conversion | |||
run: src/ci/scripts/disable-git-crlf-conversion.sh | run: src/ci/scripts/disable-git-crlf-conversion.sh | |||
<<: *step | <<: *step | |||
- name: install MSYS2 | - name: install MSYS2 | |||
run: src/ci/scripts/install-msys2.sh | run: src/ci/scripts/install-msys2.sh | |||
<<: *step | <<: *step | |||
- name: install MSYS2 packages | ||||
run: src/ci/scripts/install-msys2-packages.sh | ||||
<<: *step | ||||
- name: install MinGW | - name: install MinGW | |||
run: src/ci/scripts/install-mingw.sh | run: src/ci/scripts/install-mingw.sh | |||
<<: *step | <<: *step | |||
- name: install ninja | - name: install ninja | |||
run: src/ci/scripts/install-ninja.sh | run: src/ci/scripts/install-ninja.sh | |||
<<: *step | <<: *step | |||
- name: enable ipv6 on Docker | - name: enable ipv6 on Docker | |||
run: src/ci/scripts/enable-docker-ipv6.sh | run: src/ci/scripts/enable-docker-ipv6.sh | |||
skipping to change at line 242 | skipping to change at line 237 | |||
branches: | branches: | |||
- auto | - auto | |||
- try | - try | |||
- master | - master | |||
pull_request: | pull_request: | |||
branches: | branches: | |||
- "**" | - "**" | |||
defaults: | defaults: | |||
run: | run: | |||
# While on Linux and macOS builders it just forwards the arguments to the | # On Linux, macOS, and Windows, use the system-provided bash as the default | |||
# system bash, this wrapper allows switching from the host's bash.exe to | # shell. (This should only make a difference on Windows, where the default | |||
# the one we install along with MSYS2 mid-build on Windows. | # shell is PowerShell.) | |||
# | shell: bash | |||
# Once the step to install MSYS2 is executed, the CI_OVERRIDE_SHELL | ||||
# environment variable is set pointing to our MSYS2's bash.exe. From that | ||||
# moment the host's bash.exe will not be called anymore. | ||||
# | ||||
# This is needed because we can't launch our own bash.exe from the host | ||||
# bash.exe, as that would load two different cygwin1.dll in memory, causing | ||||
# "cygwin heap mismatch" errors. | ||||
shell: python src/ci/exec-with-shell.py {0} | ||||
jobs: | jobs: | |||
pr: | pr: | |||
<<: *base-ci-job | <<: *base-ci-job | |||
name: PR | name: PR | |||
env: | env: | |||
<<: [*shared-ci-variables, *public-variables] | <<: [*shared-ci-variables, *public-variables] | |||
if: github.event_name == 'pull_request' | if: github.event_name == 'pull_request' | |||
strategy: | strategy: | |||
matrix: | matrix: | |||
skipping to change at line 627 | skipping to change at line 614 | |||
<<: [*prod-variables] | <<: [*prod-variables] | |||
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && gith ub.repository == 'rust-lang-ci/rust' | if: github.event_name == 'push' && github.ref == 'refs/heads/master' && gith ub.repository == 'rust-lang-ci/rust' | |||
steps: | steps: | |||
- name: checkout the source code | - name: checkout the source code | |||
uses: actions/checkout@v1 | uses: actions/checkout@v1 | |||
with: | with: | |||
fetch-depth: 2 | fetch-depth: 2 | |||
- name: publish toolstate | - name: publish toolstate | |||
run: src/ci/publish_toolstate.sh | run: src/ci/publish_toolstate.sh | |||
shell: bash | ||||
env: | env: | |||
TOOLSTATE_REPO_ACCESS_TOKEN: ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN } } | TOOLSTATE_REPO_ACCESS_TOKEN: ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN } } | |||
<<: *step | <<: *step | |||
# These jobs don't actually test anything, but they're used to tell bors the | # These jobs don't actually test anything, but they're used to tell bors the | |||
# build completed, as there is no practical way to detect when a workflow is | # build completed, as there is no practical way to detect when a workflow is | |||
# successful listening to webhooks only. | # successful listening to webhooks only. | |||
try-success: | try-success: | |||
needs: [try] | needs: [try] | |||
if: "success() && github.event_name == 'push' && github.ref == 'refs/heads/t ry' && github.repository == 'rust-lang-ci/rust'" | if: "success() && github.event_name == 'push' && github.ref == 'refs/heads/t ry' && github.repository == 'rust-lang-ci/rust'" | |||
End of changes. 4 change blocks. | ||||
17 lines changed or deleted | 5 lines changed or added |