diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index bfa6f717..627208aa 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -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 @@ -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