1919 - name : Rustfmt
2020 run : |
2121 cargo fmt --check
22- rustfmt --check build_system/mod .rs
22+ rustfmt --check build_system/main .rs
2323 rustfmt --check example/*
2424
2525
@@ -91,15 +91,15 @@ jobs:
9191 sudo apt-get install -y gcc-s390x-linux-gnu qemu-user
9292
9393 - name : Prepare dependencies
94- run : ./y.rs prepare
94+ run : ./y.sh prepare
9595
9696 - name : Build
97- run : ./y.rs build --sysroot none
97+ run : ./y.sh build --sysroot none
9898
9999 - name : Test
100100 env :
101101 TARGET_TRIPLE : ${{ matrix.env.TARGET_TRIPLE }}
102- run : ./y.rs test
102+ run : ./y.sh test
103103
104104 - name : Install LLVM standard library
105105 run : rustup target add ${{ matrix.env.TARGET_TRIPLE }}
@@ -111,7 +111,7 @@ jobs:
111111 if : matrix.os != 'windows-latest' || matrix.env.TARGET_TRIPLE != 'x86_64-pc-windows-gnu'
112112 env :
113113 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
115115
116116
117117 # 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:
165165 run : cargo install hyperfine || true
166166
167167 - name : Prepare dependencies
168- run : ./y.rs prepare
168+ run : ./y.sh prepare
169169
170170 - name : Build
171- run : CI_OPT=1 ./y.rs build --sysroot none
171+ run : CI_OPT=1 ./y.sh build --sysroot none
172172
173173 - name : Benchmark
174- run : CI_OPT=1 ./y.rs bench
174+ run : CI_OPT=1 ./y.sh bench
175175
176176
177177 dist :
@@ -224,13 +224,13 @@ jobs:
224224 sudo apt-get install -y gcc-mingw-w64-x86-64 wine-stable
225225
226226 - name : Prepare dependencies
227- run : ./y.rs prepare
227+ run : ./y.sh prepare
228228
229229 - name : Build backend
230- run : CI_OPT=1 ./y.rs build --sysroot none
230+ run : CI_OPT=1 ./y.sh build --sysroot none
231231
232232 - name : Build sysroot
233- run : CI_OPT=1 ./y.rs build
233+ run : CI_OPT=1 ./y.sh build
234234
235235 - name : Package prebuilt cg_clif
236236 run : tar cvfJ cg_clif.tar.xz dist
0 commit comments