Skip to content

Commit

Permalink
Build for Windows while on Ubuntu?
Browse files Browse the repository at this point in the history
  • Loading branch information
OoLunar committed May 3, 2024
1 parent 9c9a9bd commit 0da5dbe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/sodium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,16 @@ jobs:
}
- {
name: "Windows x86",
os: windows-latest,
command: "zig build -Dshared=true -Doptimize=ReleaseFast -Dtarget=i686-windows",
os: ubuntu-latest,
command: "zig build -Dshared=true -Doptimize=ReleaseFast -Dtarget=x86-windows",
output-file: "zig-out/lib/libsodium.dll",
file: "sodium.dll",
rid: "win-x86",
arch: "x86"
}
- {
name: "Windows x64",
os: windows-latest,
os: ubuntu-latest,
command: "zig build -Dshared=true -Doptimize=ReleaseFast -Dtarget=x86_64-windows",
output-file: "zig-out/lib/libsodium.dll",
file: "sodium.dll",
Expand All @@ -97,7 +97,7 @@ jobs:
}
- {
name: "Windows Arm64",
os: windows-latest,
os: ubuntu-latest,
command: "zig build -Dshared=true -Doptimize=ReleaseFast -Dtarget=aarch64-windows",
output-file: "zig-out/lib/libsodium.dll",
file: "sodium.dll",
Expand All @@ -113,7 +113,7 @@ jobs:
uses: goto-bus-stop/setup-zig@v2
if: contains(matrix.config.command, 'zig')
with:
version: 0.12.0
version: 0.11.0
cache: false
#- name: Set up MSBuild
# if: contains(matrix.config.rid, 'win')
Expand Down

0 comments on commit 0da5dbe

Please sign in to comment.