Skip to content

Commit 3abc90c

Browse files
committed
windows/appveyor: Clean all artefacts before starting mingw builds.
Fixes issues like using moduledefs.h or qstrdefs.h from previous builds in builds with different options, leading to undefined symbols etc. Signed-off-by: stijn <stijn@ignitron.net>
1 parent a0f72d7 commit 3abc90c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ports/windows/.appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ after_test:
7979
if ($LASTEXITCODE -ne 0) {
8080
throw "$env:MSYSTEM build exited with code $LASTEXITCODE"
8181
}
82+
# Because 'make -B' doesn't remove genhdr from previous builds.
83+
C:\msys64\usr\bin\bash.exe -l -c "make V=1 VARIANT=$($env:PyVariant) clean"
8284
C:\msys64\usr\bin\bash.exe -l -c "make -B -j4 V=1 MICROPY_MPYCROSS=../../mpy-cross/build/mpy-cross.exe VARIANT=$($env:PyVariant)"
8385
if ($LASTEXITCODE -ne 0) {
8486
throw "$env:MSYSTEM build exited with code $LASTEXITCODE"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy