Skip to content

Commit

Permalink
test: ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
krypton-byte committed Jan 11, 2024
1 parent 0932384 commit 346ded8
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,35 @@ jobs:
sudo apt install gcc-aarch64-linux-gnu wget -y
wget https://dl.google.com/android/repository/android-ndk-r26b-linux.zip
unzip android-ndk-r26b-linux.zip
echo 'export PATH=$PATH:/home/runner/android-ndk-r26b/toolchains/llvm/prebuilt/linux-x86_64/bin' >> ~/.bashrc
poetry install
- name: BUILD
run: |
export PATH=$PATH:/home/runner/android-ndk-r26b/toolchains/llvm/prebuilt/linux-x86_64/bin
#LINUX AMD64/X86_64
poetry run build goneonize
#ANDROID ARM64/AARCH64
export CC=$(which aarch64-linux-android28-clang)
export CXX=$(which aarch64-linux-android28-clang++)
export GOOS=android
export GOARCH=arm64
poetry install
poetry run build goneonize
poetry build
#ANDROID ARM
export CC=$(which armv7a-linux-androideabi28-clang)
export CXX=$(which armv7a-linux-androideabi28-clang++)
export GOOS=android
export GOARCH=arm64
poetry run build goneonize
#ANDROID AMD64/x86_64
export CC=$(which x86_64-linux-android28-clang)
export CXX=$(which x86_64-linux-android28-clang++)
export GOOS=android
export GOARCH=amd64
poetry run build goneonize
#ANDROID 386/686
export CC=$(which i686-linux-android28-clang)
export CXX=$(which i686-linux-android28-clang++)
export GOOS=android
export GOARCH=386
poetry run build goneonize

0 comments on commit 346ded8

Please sign in to comment.