File tree Expand file tree Collapse file tree 3 files changed +37
-2
lines changed Expand file tree Collapse file tree 3 files changed +37
-2
lines changed Original file line number Diff line number Diff line change @@ -196,3 +196,24 @@ task:
196196 - rm /etc/ld.so.cache
197197 - ./ci/cirrus.sh
198198 << : *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
2525make
2626
2727# Print information about binaries so that we can see that the architecture is correct
28- file * tests || true
28+ file * tests* || true
2929file bench_* || true
3030file .libs/* || true
3131
4747 $QEMU_CMD ./exhaustive_tests
4848fi
4949
50+ if [ -n " $WINE_CMD " ]
51+ then
52+ $WINE_CMD ./tests 16
53+ $WINE_CMD ./exhaustive_tests
54+ fi
55+
5056if [ " $BENCH " = " yes" ]
5157then
5258 # Using the local `libtool` because on macOS the system's libtool has nothing to do with GNU libtool
5965 then
6066 EXEC=" $EXEC valgrind --error-exitcode=42"
6167 fi
68+ if [ -n " $WINE_CMD " ]
69+ then
70+ EXEC=" $WINE_CMD "
71+ fi
6272 # This limits the iterations in the benchmarks below to ITER iterations.
6373 export SECP256K1_BENCH_ITERS=" $ITERS "
6474 {
Original file line number Diff line number Diff line change @@ -10,4 +10,8 @@ RUN apt-get install --no-install-recommends --no-upgrade -y \
1010 make automake libtool pkg-config dpkg-dev valgrind qemu-user \
1111 gcc clang libc6-dbg \
1212 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 wine64-stable xcopy || true
You can’t perform that action at this time.
0 commit comments