File tree 3 files changed +10
-12
lines changed
3 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -158,20 +158,20 @@ jobs:
158
158
rustc y.rs -o y.exe -g
159
159
./y.exe prepare
160
160
161
- - name : Build
162
- # name: Test
161
+ - name : Test
162
+ shell : bash
163
163
run : |
164
164
# Enable backtraces for easier debugging
165
- # export RUST_BACKTRACE=1
165
+ export RUST_BACKTRACE=1
166
166
167
167
# Reduce amount of benchmark runs as they are slow
168
- # export COMPILE_RUNS=2
169
- # export RUN_RUNS=2
168
+ export COMPILE_RUNS=2
169
+ export RUN_RUNS=2
170
170
171
171
# Enable extra checks
172
- # export CG_CLIF_ENABLE_VERIFIER=1
172
+ export CG_CLIF_ENABLE_VERIFIER=1
173
173
174
- ./y.exe build
174
+ ./test.sh
175
175
176
176
- name : Package prebuilt cg_clif
177
177
# don't use compression as xzip isn't supported by tar on windows and bzip2 hangs
Original file line number Diff line number Diff line change 5
5
source scripts/config.sh
6
6
source scripts/ext_config.sh
7
7
export RUSTC=false # ensure that cg_llvm isn't accidentally used
8
- MY_RUSTC=" $( pwd) /build/bin/cg_clif $RUSTFLAGS -L crate=target/out --out-dir target/out -Cdebuginfo=2"
8
+ MY_RUSTC=" $( pwd) /build/bin/cg_clif.exe $RUSTFLAGS -L crate=target/out --out-dir target/out -Cdebuginfo=2"
9
9
10
10
function no_sysroot_tests() {
11
11
echo " [BUILD] mini_core"
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
set -e
3
3
4
- ./y.rs build --sysroot none " $@ "
5
-
6
- rm -r target/out || true
4
+ ./y.exe build --sysroot none " $@ "
7
5
8
6
scripts/tests.sh no_sysroot
9
7
10
- ./y.rs build " $@ "
8
+ ./y.exe build " $@ "
11
9
12
10
scripts/tests.sh base_sysroot
13
11
scripts/tests.sh extended_sysroot
You can’t perform that action at this time.
0 commit comments