Skip to content

Commit

Permalink
Dynamic windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Apr 15, 2024
1 parent 28e3b38 commit 861c17d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ jobs:
-D CMAKE_C_COMPILER="C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/Llvm/x64/bin/clang-cl.exe" \
-D CMAKE_CXX_COMPILER="C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/Llvm/x64/bin/clang-cl.exe" \
-D CMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
-D VCPKG_TARGET_TRIPLET="x64-windows-static" \
-D VCPKG_HOST_TRIPLET="x64-windows-static" \
-D VCPKG_TARGET_TRIPLET="x64-windows" \
-D VCPKG_HOST_TRIPLET="x64-windows" \
-D WITH_VCPKG=ON \
-D WITH_SPIX=ON \
-D WITH_NFC=OFF \
Expand All @@ -82,7 +82,7 @@ jobs:
-D SENTRY_DSN=${{ secrets.SENTRY_DSN }} \
-D SENTRY_ENV="${APP_ENV}" \
-D CMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded\$<\$<CONFIG:Debug>:Debug>" \
-D PKG_CONFIG_EXECUTABLE=${CMAKE_BUILD_DIR}/vcpkg_installed/x64-windows-static/tools/pkgconf/pkgconf.exe \
-D PKG_CONFIG_EXECUTABLE=${CMAKE_BUILD_DIR}/vcpkg_installed/x64-windows/tools/pkgconf/pkgconf.exe \
-D WITH_BLUETOOTH=ON \
-D VCPKG_INSTALL_OPTIONS="--x-buildtrees-root=C:/src" \
${EXTRA_CMAKE_ARGS}
Expand All @@ -91,7 +91,7 @@ jobs:
uses: actions/upload-artifact@v4
if: failure()
with:
name: build-logs-x64-windows-static
name: build-logs-x64-windows
path: |
C:/src/**/*.log
Expand All @@ -102,7 +102,7 @@ jobs:
- name: 🧫 Test
shell: bash
env:
PROJ_LIB: ${{ env.CMAKE_BUILD_DIR }}/vcpkg_installed/x64-windows-static/share/proj
PROJ_LIB: ${{ env.CMAKE_BUILD_DIR }}/vcpkg_installed/x64-windows/share/proj
run: |
SOURCE_DIR=$( cygpath "${{ github.workspace }}" )
pip install -r "${SOURCE_DIR}/test/spix/requirements.txt"
Expand All @@ -122,20 +122,20 @@ jobs:
uses: actions/upload-artifact@v4
if: failure()
with:
name: package-logs-x64-windows-static
name: package-logs-x64-windows
path: ${{ env.CMAKE_BUILD_DIR }}/_CPack_Packages/**/*.log

- name: 📦 Upload package
if: ${{ env.ARTIFACT_NAME != null }}
uses: actions/upload-artifact@v4
with:
name: "QField-dev-x64-windows-static-${{ env.BUILD_TYPE }}"
name: "QField-dev-x64-windows-${{ env.BUILD_TYPE }}"
path: ${{ env.ARTIFACT_PATHNAME }}

- name: 📊 Upload test report
uses: actions/upload-artifact@v4
with:
name: "test-report-x64-windows-static-${{ env.BUILD_TYPE }}"
name: "test-report-x64-windows-${{ env.BUILD_TYPE }}"
path: "${{ env.CMAKE_BUILD_DIR }}/report"

- name: 🚀 Upload release asset
Expand Down

0 comments on commit 861c17d

Please sign in to comment.