File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 6
6
- main
7
7
pull_request :
8
8
9
+ env :
10
+ RUSTDOCFLAGS : " --default-theme ayu"
11
+ RUST_BACKTRACE : " 1"
12
+ # speed up build by using clang/lld
13
+ CC : " clang-14"
14
+ CXX : " clang++-14"
15
+ LD : " clang-14"
16
+ LDFLAGS : " -fuse-ld=lld-14"
17
+ RUSTFLAGS : " -C linker=clang-14 -C link-arg=-fuse-ld=lld-14"
18
+
9
19
jobs :
10
20
# this checks that the readme created from rustdoc is up to date
11
21
readmecheck :
68
78
os : [ubuntu-latest, windows-latest, macOS-latest]
69
79
steps :
70
80
- uses : actions/checkout@v4
81
+ - uses : dtolnay/rust-toolchain@nightly
82
+ if : matrix.rust.name == 'MSRV'
83
+ - name : cargo -Z minimal-versions update
84
+ run : |
85
+ set -x
86
+ cargo -Z minimal-versions update
87
+ if : matrix.rust.name == 'MSRV'
71
88
- uses : dtolnay/rust-toolchain@master
72
89
with :
73
90
toolchain : ${{matrix.rust.toolchain}}
You can’t perform that action at this time.
0 commit comments