File tree 3 files changed +37
-2
lines changed
3 files changed +37
-2
lines changed Original file line number Diff line number Diff line change @@ -196,3 +196,24 @@ task:
196
196
- rm /etc/ld.so.cache
197
197
- ./ci/cirrus.sh
198
198
<< : *CAT_LOGS
199
+
200
+ task :
201
+ name : " x86_64 (mingw32-w64): Windows (Debian stable, Wine)"
202
+ container :
203
+ dockerfile : ci/linux-debian.Dockerfile
204
+ cpu : 1
205
+ memory : 1G
206
+ env :
207
+ WINE_CMD : wine64-stable
208
+ HOST : x86_64-w64-mingw32
209
+ BUILD :
210
+ WITH_VALGRIND : no
211
+ ECDH : yes
212
+ RECOVERY : yes
213
+ EXPERIMENTAL : yes
214
+ SCHNORRSIG : yes
215
+ CTIMETEST : no
216
+ << : *MERGE_BASE
217
+ test_script :
218
+ - ./ci/cirrus.sh
219
+ << : *CAT_LOGS
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ valgrind --version || true
25
25
make
26
26
27
27
# Print information about binaries so that we can see that the architecture is correct
28
- file * tests || true
28
+ file * tests* || true
29
29
file bench_* || true
30
30
file .libs/* || true
31
31
47
47
$QEMU_CMD ./exhaustive_tests
48
48
fi
49
49
50
+ if [ -n " $WINE_CMD " ]
51
+ then
52
+ $WINE_CMD ./tests 16
53
+ $WINE_CMD ./exhaustive_tests
54
+ fi
55
+
50
56
if [ " $BENCH " = " yes" ]
51
57
then
52
58
# Using the local `libtool` because on macOS the system's libtool has nothing to do with GNU libtool
59
65
then
60
66
EXEC=" $EXEC valgrind --error-exitcode=42"
61
67
fi
68
+ if [ -n " $WINE_CMD " ]
69
+ then
70
+ EXEC=" $WINE_CMD "
71
+ fi
62
72
# This limits the iterations in the benchmarks below to ITER iterations.
63
73
export SECP256K1_BENCH_ITERS=" $ITERS "
64
74
{
Original file line number Diff line number Diff line change @@ -10,4 +10,8 @@ RUN apt-get install --no-install-recommends --no-upgrade -y \
10
10
make automake libtool pkg-config dpkg-dev valgrind qemu-user \
11
11
gcc clang libc6-dbg \
12
12
gcc-i686-linux-gnu libc6-dev-i386-cross libc6-dbg:i386 \
13
- gcc-s390x-linux-gnu libc6-dev-s390x-cross libc6-dbg:s390x
13
+ gcc-s390x-linux-gnu libc6-dev-s390x-cross libc6-dbg:s390x \
14
+ wine gcc-mingw-w64-x86-64
15
+
16
+ # Run a dummy command in wine to make it set up configuration
17
+ RUN wine xcopy || true
You can’t perform that action at this time.
0 commit comments