From 4db3c03002e712e2836c3b364af3334ac10c29fc Mon Sep 17 00:00:00 2001 From: PUJA <52121207+krypton-byte@users.noreply.github.com> Date: Sun, 14 Jan 2024 01:17:21 +0700 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 251fa55..e440988 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -110,4 +115,4 @@ jobs: ./neonize/*.so ./neonize/*.dll generate_release_notes: true - tag_name: ${{ github.event.inputs.version }} \ No newline at end of file + tag_name: ${{ github.event.inputs.version }}