@@ -82,125 +82,7 @@ jobs:
8282 steps :
8383 - name : test link
8484 run : link --version || true
85- shell : bash
86-
87- - if : contains(matrix.os, 'windows')
88- 89- with :
90- # i686 jobs use mingw32. x86_64 and cross-compile jobs use mingw64.
91- msystem : ${{ contains(matrix.name, 'i686') && 'mingw32' || 'mingw64' }}
92- # don't try to download updates for already installed packages
93- update : false
94- # don't try to use the msys that comes built-in to the github runner,
95- # so we can control what is installed (i.e. not python)
96- release : true
97- # Inherit the full path from the Windows environment, with MSYS2's */bin/
98- # dirs placed in front. This lets us run Windows-native Python etc.
99- path-type : inherit
100- install : >
101- make
102-
103- - name : test link
104- run : link --version || true
105-
106- - name : disable git crlf conversion
107- run : git config --global core.autocrlf false
108-
109- - name : checkout the source code
110- uses : actions/checkout@v4
111- with :
112- fetch-depth : 2
113-
114- # Free up disk space on Linux by removing preinstalled components that
115- # we do not need. We do this to enable some of the less resource
116- # intensive jobs to run on free runners, which however also have
117- # less disk space.
118- - name : free up disk space
119- uses : jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
120- if : matrix.free_disk
121-
122- # Rust Log Analyzer can't currently detect the PR number of a GitHub
123- # Actions build on its own, so a hint in the log message is needed to
124- # point it in the right direction.
125- - name : configure the PR in which the error message will be posted
126- run : echo "[CI_PR_NUMBER=$num]"
127- env :
128- num : ${{ github.event.number }}
129- if : needs.calculate_matrix.outputs.run_type == 'pr'
130-
131- - name : add extra environment variables
132- run : src/ci/scripts/setup-environment.sh
133- env :
134- # Since it's not possible to merge `${{ matrix.env }}` with the other
135- # variables in `job.<name>.env`, the variables defined in the matrix
136- # are passed to the `setup-environment.sh` script encoded in JSON,
137- # which then uses log commands to actually set them.
138- EXTRA_VARIABLES : ${{ toJson(matrix.env) }}
139-
140- - name : setup upstream remote
141- run : src/ci/scripts/setup-upstream-remote.sh
142-
143- - name : ensure the channel matches the target branch
144- run : src/ci/scripts/verify-channel.sh
145-
146- - name : collect CPU statistics
147- run : src/ci/scripts/collect-cpu-stats.sh
148-
149- - name : show the current environment
150- run : src/ci/scripts/dump-environment.sh
151-
152- - name : install awscli
153- run : src/ci/scripts/install-awscli.sh
154-
155- - name : install sccache
156- run : src/ci/scripts/install-sccache.sh
157-
158- - name : select Xcode
159- run : src/ci/scripts/select-xcode.sh
160-
161- - name : install clang
162- run : src/ci/scripts/install-clang.sh
163-
164- - name : install tidy
165- run : src/ci/scripts/install-tidy.sh
166-
167- - name : install WIX
168- run : src/ci/scripts/install-wix.sh
169-
170- - name : disable git crlf conversion
171- run : src/ci/scripts/disable-git-crlf-conversion.sh
172-
173- - name : checkout submodules
174- run : src/ci/scripts/checkout-submodules.sh
175-
176- - name : install MinGW
177- run : src/ci/scripts/install-mingw.sh
178-
179- - name : install ninja
180- run : src/ci/scripts/install-ninja.sh
181-
182- - name : enable ipv6 on Docker
183- run : src/ci/scripts/enable-docker-ipv6.sh
184-
185- # Disable automatic line ending conversion (again). On Windows, when we're
186- # installing dependencies, something switches the git configuration directory or
187- # re-enables autocrlf. We've not tracked down the exact cause -- and there may
188- # be multiple -- but this should ensure submodules are checked out with the
189- # appropriate line endings.
190- - name : disable git crlf conversion
191- run : src/ci/scripts/disable-git-crlf-conversion.sh
192-
193- - name : ensure line endings are correct
194- run : src/ci/scripts/verify-line-endings.sh
195-
196- - name : ensure backported commits are in upstream branches
197- run : src/ci/scripts/verify-backported-commits.sh
198-
199- - name : ensure the stable version number is correct
200- run : src/ci/scripts/verify-stable-version-number.sh
201-
202- - name : test link
203- run : link --version || true
85+ shell : pwsh
20486
20587 # This job isused to tell bors the final status of the build, as there is no practical way to detect
20688 # when a workflow is successful listening to webhooks only in our current bors implementation (homu).
0 commit comments