Skip to content

Commit

Permalink
Update release.yml to include android5 armv7 build
Browse files Browse the repository at this point in the history
  • Loading branch information
rabilrbl authored Sep 6, 2024
1 parent 70de4df commit 00c4d61
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 00c4d61

Please sign in to comment.