Skip to content

Commit

Permalink
test-wine
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed Jul 8, 2024
1 parent 4e24afa commit 41eecb0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,13 @@ strategy:
RUN_TESTS: true
Windows amd64 MinGW:
VM_IMAGE: 'ubuntu-20.04'
APT_PACKAGES: ninja-build g++-mingw-w64-x86-64 mingw-w64-x86-64-dev
APT_PACKAGES: ninja-build g++-mingw-w64-x86-64 mingw-w64-x86-64-dev gcc-mingw-w64-x86-64-posix-runtime wine
SETUP_COMMANDS: sudo update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
TOOLCHAIN_FILE: cmake/cross-toolchain-mingw64.cmake
EXE_EXTENSIONS: .exe
CRUNCH_RUNNER: wine
CRUNCH_EXTENSION: .exe
RUNTIME_FILES: /usr/lib/gcc/x86_64-w64-mingw32/12-posix/libstdc++-6.dll /usr/lib/gcc/x86_64-w64-mingw32/12-posix/libgcc_s_seh-1.dll /usr/x86_64-w64-mingw32/lib/libwinpthread-1.dll
Windows i686 MinGW:
VM_IMAGE: 'ubuntu-20.04'
APT_PACKAGES: ninja-build g++-mingw-w64-i686 mingw-w64-i686-dev
Expand Down Expand Up @@ -119,6 +122,9 @@ steps:
file "build/crunch${ext}"
done
fi
if [ -n "${RUNTIME_FILES:-}" ]; then
cp -av ${RUNTIME_FILES} build/
fi
if "${RUN_TESTS:-false}"; then
test/test.py
fi
Expand Down

0 comments on commit 41eecb0

Please sign in to comment.