Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
krypton-byte authored Jan 12, 2024
1 parent 949e471 commit 3238ea4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,28 @@ jobs:
export CC=$(which s390x-linux-gnu-gcc)
export CXX=$(which s390x-linux-gnu-cpp)
poetry run build goneonize
- name: WINDOWS SHARED LIBRARY USING ZIG
run: |
wget https://ziglang.org/builds/zig-linux-x86_64-0.12.0-dev.2150+63de8a598.tar.xz
xz -d zig-linux-x86_64-0.12.0-dev.2150+63de8a598.tar.xz
tar -xf zig-linux-x86_64-0.12.0-dev.2150+63de8a598.tar
export PATH=$(pwd)/zig-linux-x86_64-0.12.0-dev.2150+63de8a598:$PATH
export CGO_ENABLED=1
#AMD64
export GOOS=windows
export GOARCH=amd64
export CC="zig cc -target x86_64-windows"
poetry build goneonize
#ARM64
export GOOS=windows
export GOARCH=arm64
export CC="zig cc -target aarch64-windows"
poetry build goneonize
#X86 / 386
export GOOS=windows
export GOARCH=386
export CC="zig cc -target x86-windows"
poetry build goneonize
- name: ANDROID
run: |
export CGO_ENABLED=1
Expand Down

0 comments on commit 3238ea4

Please sign in to comment.