Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -423,15 +423,15 @@ jobs:
- name: Build Sentry Native
run: |
# uasm is needed to assemble crashpad's .asm files with MinGW
/c/msys64/usr/bin/pacman -S --noconfirm mingw-w64-x86_64-uasm
/c/msys64/usr/bin/pacman -S --noconfirm mingw-w64-ucrt-x86_64-uasm
curl -sLO https://github.com/getsentry/sentry-native/releases/download/${SENTRY_VERSION}/sentry-native.zip
mkdir sentry-native
pushd sentry-native
unzip -q ../sentry-native.zip
# Fixes compilation of crashpad against the mingw-w64 headers
# shipped with the Qt MinGW toolchain
patch -p1 < ../dist/win/sentry-native-mingw.patch
cmake -B build -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSENTRY_BACKEND=crashpad -DSENTRY_BUILD_TESTS=OFF -DSENTRY_BUILD_EXAMPLES=OFF -DCRASHPAD_ZLIB_SYSTEM=OFF -DCMAKE_ASM_MASM_COMPILER=C:/msys64/mingw64/bin/uasm.exe -DCMAKE_EXE_LINKER_FLAGS=-Wl,--build-id -DCMAKE_SHARED_LINKER_FLAGS=-Wl,--build-id
cmake -B build -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSENTRY_BACKEND=crashpad -DSENTRY_BUILD_TESTS=OFF -DSENTRY_BUILD_EXAMPLES=OFF -DCRASHPAD_ZLIB_SYSTEM=OFF -DCMAKE_ASM_MASM_COMPILER=C:/msys64/ucrt64/bin/uasm.exe -DCMAKE_EXE_LINKER_FLAGS=-Wl,--build-id -DCMAKE_SHARED_LINKER_FLAGS=-Wl,--build-id
cmake --build build --parallel
cmake --install build --prefix install --config RelWithDebInfo
popd
Expand Down
Loading