19
19
- name : Rustfmt
20
20
run : |
21
21
cargo fmt --check
22
- rustfmt --check build_system/mod .rs
22
+ rustfmt --check build_system/main .rs
23
23
rustfmt --check example/*
24
24
25
25
@@ -91,15 +91,15 @@ jobs:
91
91
sudo apt-get install -y gcc-s390x-linux-gnu qemu-user
92
92
93
93
- name : Prepare dependencies
94
- run : ./y.rs prepare
94
+ run : ./y.sh prepare
95
95
96
96
- name : Build
97
- run : ./y.rs build --sysroot none
97
+ run : ./y.sh build --sysroot none
98
98
99
99
- name : Test
100
100
env :
101
101
TARGET_TRIPLE : ${{ matrix.env.TARGET_TRIPLE }}
102
- run : ./y.rs test
102
+ run : ./y.sh test
103
103
104
104
- name : Install LLVM standard library
105
105
run : rustup target add ${{ matrix.env.TARGET_TRIPLE }}
@@ -111,7 +111,7 @@ jobs:
111
111
if : matrix.os != 'windows-latest' || matrix.env.TARGET_TRIPLE != 'x86_64-pc-windows-gnu'
112
112
env :
113
113
TARGET_TRIPLE : ${{ matrix.env.TARGET_TRIPLE }}
114
- run : ./y.rs test --sysroot llvm --no-unstable-features
114
+ run : ./y.sh test --sysroot llvm --no-unstable-features
115
115
116
116
117
117
# This job doesn't use cg_clif in any way. It checks that all cg_clif tests work with cg_llvm too.
@@ -165,13 +165,13 @@ jobs:
165
165
run : cargo install hyperfine || true
166
166
167
167
- name : Prepare dependencies
168
- run : ./y.rs prepare
168
+ run : ./y.sh prepare
169
169
170
170
- name : Build
171
- run : CI_OPT=1 ./y.rs build --sysroot none
171
+ run : CI_OPT=1 ./y.sh build --sysroot none
172
172
173
173
- name : Benchmark
174
- run : CI_OPT=1 ./y.rs bench
174
+ run : CI_OPT=1 ./y.sh bench
175
175
176
176
177
177
dist :
@@ -224,13 +224,13 @@ jobs:
224
224
sudo apt-get install -y gcc-mingw-w64-x86-64 wine-stable
225
225
226
226
- name : Prepare dependencies
227
- run : ./y.rs prepare
227
+ run : ./y.sh prepare
228
228
229
229
- name : Build backend
230
- run : CI_OPT=1 ./y.rs build --sysroot none
230
+ run : CI_OPT=1 ./y.sh build --sysroot none
231
231
232
232
- name : Build sysroot
233
- run : CI_OPT=1 ./y.rs build
233
+ run : CI_OPT=1 ./y.sh build
234
234
235
235
- name : Package prebuilt cg_clif
236
236
run : tar cvfJ cg_clif.tar.xz dist
0 commit comments