File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 MAX_FAIL_PERCENT : 1
2020 BOOTSTRAP_TOML : |
2121 profile = "dist"
22-
23- [llvm]
24- download-ci-llvm = true
25-
26- [rust]
27- codegen-backends = ["c"]
22+ llvm.download-ci-llvm = true
23+ rust.codegen-backends = ["c"]
24+ build.extended = false
25+ install.prefix = "./"
2826
2927jobs :
3028 build-test :
4139 runs-on : ${{ matrix.runner }}
4240
4341 steps :
42+ - name : Free disk space
43+ uses : jlumbroso/free-disk-space@main
44+ with :
45+ android : true
46+ dotnet : true
47+ haskell : true
48+ docker-images : true
49+
4450 - name : Checkout rust
4551 uses : actions/checkout@v6
4652 with :
@@ -62,16 +68,17 @@ jobs:
6268 echo "$BOOTSTRAP_TOML" > rust/bootstrap.toml
6369 echo "CC=${{ matrix.cc }}" >> "$GITHUB_ENV"
6470 echo "HOST_TUPLE=$(rustc --print=host-tuple)" >> "$GITHUB_ENV"
71+ echo "DESTDIR=./dist" >> "$GITHUB_ENV"
6572
6673 - name : Test
6774 run : cd rust && timeout 10800 ./compiler/rustc_codegen_c/test.sh
6875
69- - name : Build
70- run : cd rust && ./x build compiler library
76+ - name : Install
77+ run : cd rust && ./compiler/rustc_codegen_c/y install --stage=2 rustc library cargo
7178
72- - name : Create stage2 tarball
79+ - name : Create toolchain tarball
7380 run : |
74- cd rust/build/host/stage2
81+ cd rust/dist
7582 tar czf "$GITHUB_WORKSPACE/rustic-toolchain-$HOST_TUPLE-${{ matrix.cc }}.tar.gz" .
7683 - name : Create csources tarball
7784 run : |
You can’t perform that action at this time.
0 commit comments