Try build for Android

This commit is contained in:
Aoran Zeng 2025-07-22 09:40:41 +08:00
parent d8284ef287
commit c058c91a83
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98

View File

@ -4,7 +4,7 @@
# Contributors : Nul None <nul@none.org>
# |
# Created On : <2023-09-14>
# Last Modified : <2025-06-20>
# Last Modified : <2025-07-22>
#
# Build chsrc on Windows and upload it to GitHub: the 'pre' release
# ---------------------------------------------------------------
@ -49,6 +49,11 @@ jobs:
mingw32-make.exe build-in-ci-release-mode
mv chsrc-ci-release.exe chsrc-x86-windows.exe
- name: 为 Android 构建
run: |
mingw32-make.exe build-in-ci-release-mode CC=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/windows-x86_64/bin/aarch64-linux-android21-clang
mv chsrc-ci-release.exe chsrc-arm64-android
- name: List files
run: ls *.exe
@ -60,4 +65,5 @@ jobs:
files: |
chsrc-x64-windows.exe
chsrc-x86-windows.exe
chsrc-arm64-android
token: ${{ secrets.UPLOAD_TO_GITHUB }}