File tree 7 files changed +34
-17
lines changed
7 files changed +34
-17
lines changed Original file line number Diff line number Diff line change 92
92
# we do not need. We do this to enable some of the less resource
93
93
# intensive jobs to run on free runners, which however also have
94
94
# less disk space.
95
- - name : free up disk space
96
- run : src/ci/scripts/free-disk-space.sh
97
- if : matrix.free_disk
95
+ # - name: free up disk space
96
+ # run: src/ci/scripts/free-disk-space.sh
97
+ # if: matrix.free_disk
98
98
99
99
# Rust Log Analyzer can't currently detect the PR number of a GitHub
100
100
# Actions build on its own, so a hint in the log message is needed to
@@ -208,7 +208,12 @@ jobs:
208
208
retention-days : 5
209
209
210
210
- name : upload artifacts to S3
211
- run : src/ci/scripts/upload-artifacts.sh
211
+ run : |
212
+ echo "build"
213
+ ls -lha build
214
+ echo "obj/build"
215
+ ls -lha obj/build
216
+ src/ci/scripts/upload-artifacts.sh
212
217
env :
213
218
AWS_ACCESS_KEY_ID : ${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}
214
219
AWS_SECRET_ACCESS_KEY : ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}
@@ -221,6 +226,10 @@ jobs:
221
226
222
227
- name : postprocess metrics into the summary
223
228
run : |
229
+ echo "build"
230
+ ls -lha build
231
+ echo "obj/build"
232
+ ls -lha obj/build
224
233
if [ -f build/metrics.json ]; then
225
234
./build/citool/debug/citool postprocess-metrics build/metrics.json ${GITHUB_STEP_SUMMARY}
226
235
elif [ -f obj/build/metrics.json ]; then
Original file line number Diff line number Diff line change 47
47
path = src/tools/enzyme
48
48
url = https://github.com/EnzymeAD/Enzyme.git
49
49
shallow = true
50
- [submodule "src/gcc "]
51
- path = src/gcc
52
- url = https://github.com/rust-lang/gcc.git
53
- shallow = true
50
+ ; [submodule "src/gcc"]
51
+ ; path = src/gcc
52
+ ; url = https://github.com/rust-lang/gcc.git
53
+ ; shallow = true
Original file line number Diff line number Diff line change @@ -19,3 +19,7 @@ insta = "1"
19
19
# If this is omitted, cargo will look for a workspace elsewhere.
20
20
# We want to avoid this, since citool is independent of the other crates.
21
21
[workspace ]
22
+
23
+ [profile .dev ]
24
+ debug = 0
25
+ incremental = false
Original file line number Diff line number Diff line change @@ -36,5 +36,4 @@ COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/
36
36
37
37
# NOTE: intentionally uses python2 for x.py so we can test it still works.
38
38
# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
39
- ENV SCRIPT TIDY_PRINT_DIFF=1 python2.7 ../x.py test \
40
- --stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp
39
+ ENV SCRIPT ../x.py build src/tools/build-manifest
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ RUN sh /scripts/sccache.sh
43
43
44
44
# We are disabling CI LLVM since this builder is intentionally using a host
45
45
# LLVM, rather than the typical src/llvm-project LLVM.
46
- ENV NO_DOWNLOAD_CI_LLVM 1
47
- ENV EXTERNAL_LLVM 1
46
+ # ENV NO_DOWNLOAD_CI_LLVM 1
47
+ # ENV EXTERNAL_LLVM 1
48
48
49
49
# Using llvm-link-shared due to libffi issues -- see #34486
50
50
ENV RUST_CONFIGURE_ARGS \
@@ -55,9 +55,9 @@ ENV RUST_CONFIGURE_ARGS \
55
55
--set rust.thin-lto-import-instr-limit=10
56
56
57
57
COPY scripts/shared.sh /scripts/
58
- COPY scripts/build-gccjit.sh /scripts/
58
+ # COPY scripts/build-gccjit.sh /scripts/
59
59
60
- RUN /scripts/build-gccjit.sh /scripts
60
+ # RUN /scripts/build-gccjit.sh /scripts
61
61
62
62
ARG SCRIPT_ARG
63
63
Original file line number Diff line number Diff line change 2
2
3
3
set -ex
4
4
5
+ ../x.py build src/tools/build-manifest
6
+
5
7
# NOTE: intentionally uses all of `x.py`, `x`, and `x.ps1` to make sure they all work on Linux.
6
- ../x.py --stage 2 test --skip src/tools/tidy
8
+ # ../x.py --stage 2 test --skip src/tools/tidy
7
9
8
10
# Run the `mir-opt` tests again but this time for a 32-bit target.
9
11
# This enforces that tests using `// EMIT_MIR_FOR_EACH_BIT_WIDTH` have
10
12
# both 32-bit and 64-bit outputs updated by the PR author, before
11
13
# the PR is approved and tested for merging.
12
14
# It will also detect tests lacking `// EMIT_MIR_FOR_EACH_BIT_WIDTH`,
13
15
# despite having different output on 32-bit vs 64-bit targets.
14
- ../x --stage 2 test tests/mir-opt --host=' ' --target=i686-unknown-linux-gnu
16
+ # ../x --stage 2 test tests/mir-opt --host='' --target=i686-unknown-linux-gnu
15
17
16
18
# Run the UI test suite again, but in `--pass=check` mode
17
19
#
18
20
# This is intended to make sure that both `--pass=check` continues to
19
21
# work.
20
- ../x.ps1 --stage 2 test tests/ui --pass=check --host=' ' --target=i686-unknown-linux-gnu
22
+ # ../x.ps1 --stage 2 test tests/ui --pass=check --host='' --target=i686-unknown-linux-gnu
Original file line number Diff line number Diff line change @@ -54,6 +54,9 @@ if [ "$FORCE_CI_RUSTC" == "" ]; then
54
54
DISABLE_CI_RUSTC_IF_INCOMPATIBLE=1
55
55
fi
56
56
57
+ RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set build.metrics"
58
+ HAS_METRICS=1
59
+
57
60
if ! isCI || isCiBranch auto || isCiBranch beta || isCiBranch try || isCiBranch try-perf || \
58
61
isCiBranch automation/bors/try; then
59
62
RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set build.print-step-timings --enable-verbose-tests"
You can’t perform that action at this time.
0 commit comments