From e2f13f78ff541c1f34867573539cb20aab4d21ff Mon Sep 17 00:00:00 2001 From: Diogo Mendes Matsubara Date: Fri, 25 Oct 2024 00:13:43 +0200 Subject: [PATCH] fix: add debug for win build --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7c46f72fb..49433ec15 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -133,6 +133,9 @@ jobs: toolchain_file=$(readlink -f TC-${{ matrix.build.target }}.cmake) if [[ "${{ matrix.build.target }}" == "aarch64-unknown-linux-musl" ]]; then export PATH=$PATH:$(readlink -f aarch64-linux-musl-cross)/bin + elif [[ "${{ matrix.build.target }}" == "x86_64-pc-windows-gnu"]]; then + export PATH=$PATH:C:/mingw64/bin + echo $PATH fi mkdir -p build && cd build cmake .. -DZENOHC_CUSTOM_TARGET=${{ matrix.build.target }} -DCMAKE_TOOLCHAIN_FILE="${toolchain_file}" -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DZENOHC_BUILD_WITH_UNSTABLE_API=ON -DZENOHC_BUILD_WITH_SHARED_MEMORY=ON