From 00c4d61cbb4cddc380b838bd4b901468cfe54df5 Mon Sep 17 00:00:00 2001 From: Mohammed Rabil Date: Fri, 6 Sep 2024 08:46:31 +0530 Subject: [PATCH] Update release.yml to include android5 armv7 build --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 390974f0..52bf0b07 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,7 +95,7 @@ jobs: - name: Setup android NDK run: | - wget -q --show-progress https://dl.google.com/android/repository/android-ndk-r26b-linux.zip + wget -q https://dl.google.com/android/repository/android-ndk-r26b-linux.zip unzip -qq android-ndk-r26b-linux.zip echo "$PWD/android-ndk-r26b/toolchains/llvm/prebuilt/linux-x86_64/bin" >> $GITHUB_PATH @@ -151,6 +151,10 @@ jobs: # Wait for all background jobs to finish wait + # Build for android5 arm with CC=armv7a-linux-androideabi21-clang + echo "Building android5 arm" + CGO_ENABLED=1 GOOS=android GOARCH=arm GOARM=7 CC="armv7a-linux-androideabi21-clang" CXX="armv7a-linux-androideabi21-clang++" go build -o bin/jiotv_go-android5-armv7 -trimpath -ldflags="-s -w" . + - name: Release 📦 uses: softprops/action-gh-release@v1 with: