Skip to content

Commit 3b08a4d

Browse files
committed
Try testing on windows
1 parent bdeea15 commit 3b08a4d

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

.github/workflows/main.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -158,20 +158,20 @@ jobs:
158158
rustc y.rs -o y.exe -g
159159
./y.exe prepare
160160
161-
- name: Build
162-
#name: Test
161+
- name: Test
162+
shell: bash
163163
run: |
164164
# Enable backtraces for easier debugging
165-
#export RUST_BACKTRACE=1
165+
export RUST_BACKTRACE=1
166166
167167
# 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
170170
171171
# Enable extra checks
172-
#export CG_CLIF_ENABLE_VERIFIER=1
172+
export CG_CLIF_ENABLE_VERIFIER=1
173173
174-
./y.exe build
174+
./test.sh
175175
176176
- name: Package prebuilt cg_clif
177177
# don't use compression as xzip isn't supported by tar on windows and bzip2 hangs

test.sh

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
#!/usr/bin/env bash
22
set -e
33

4-
./y.rs build --sysroot none "$@"
5-
6-
rm -r target/out || true
4+
./y.exe build --sysroot none "$@"
75

86
scripts/tests.sh no_sysroot
97

10-
./y.rs build "$@"
8+
./y.exe build "$@"
119

1210
scripts/tests.sh base_sysroot
1311
scripts/tests.sh extended_sysroot

0 commit comments

Comments
 (0)