Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
krypton-byte authored Jan 13, 2024
1 parent 7c71db8 commit 4db3c03
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,28 +49,33 @@ 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
- name: 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
#WINDOWS AMD64
export GOOS=windows
export GOARCH=amd64
export CC="zig cc -target x86_64-windows"
poetry run build goneonize
#ARM64
#WINDOWS ARM64
export GOOS=windows
export GOARCH=arm64
export CC="zig cc -target aarch64-windows"
poetry run build goneonize
#X86 / 386
#WINDOWS X86 / 386
export GOOS=windows
export GOARCH=386
export CC="zig cc -target x86-windows"
poetry run build goneonize
#LINUX x86/386
export GOOS=linux
export GOARCH=386
export CC="zig cc -target x86-linux"
poetry run build goneonize
- name: ANDROID
run: |
export CGO_ENABLED=1
Expand Down Expand Up @@ -110,4 +115,4 @@ jobs:
./neonize/*.so
./neonize/*.dll
generate_release_notes: true
tag_name: ${{ github.event.inputs.version }}
tag_name: ${{ github.event.inputs.version }}

0 comments on commit 4db3c03

Please sign in to comment.