Skip to content

Commit

Permalink
Fix cross-compilation build in publish-release.yml (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlabelle authored Jan 13, 2025
1 parent bafd282 commit f552d76
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,10 @@ jobs:
include:
- arch: x64
msarch: amd64
llvm-triple: x86_64-unknown-windows-msvc
- arch: arm64
msarch: arm64
llvm-triple: aarch64-unknown-windows-msvc
defaults:
run:
shell: pwsh
Expand All @@ -126,6 +128,8 @@ jobs:
cmake --preset release `
-B build/release-${{ matrix.arch }} `
-D CMAKE_SYSTEM_PROCESSOR=${{ matrix.msarch }} `
-D CMAKE_C_COMPILER_TARGET=${{ matrix.llvm-triple }} `
-D CMAKE_Swift_COMPILER_TARGET=${{ matrix.llvm-triple }} `
-D CMAKE_EXPORT_COMPILE_COMMANDS=OFF
- name: CMake build
Expand Down

0 comments on commit f552d76

Please sign in to comment.