Skip to content

Commit

Permalink
CI for cross-compiling to x86_64-pc-windows-gnu
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed May 6, 2024
1 parent 05827f6 commit 534d20d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
- x86_64-unknown-linux-musl
- aarch64-unknown-linux-musl
- s390x-unknown-linux-gnu
- x86_64-pc-windows-gnu
steps:
- uses: actions/checkout@v3
with:
Expand Down
8 changes: 8 additions & 0 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
[build]
dockerfile = "./docker/linux-cross/Dockerfile"

[target.x86_64-pc-windows-gnu]
pre-build = [
"apt-get update && apt-get install --assume-yes nasm clang wget",
"mkdir -pm755 /etc/apt/keyrings",
"wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources",
"apt install --assume-yes --install-recommends winehq-stable"
]

[build.env]
passthrough = [
"AWS_LC_SYS_NO_PREFIX", "AWS_LC_FIPS_SYS_NO_PREFIX",
Expand Down

0 comments on commit 534d20d

Please sign in to comment.