Skip to content

Commit c058c91

Browse files
committed
Try build for Android
1 parent d8284ef commit c058c91

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build-on-Windows.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Contributors : Nul None <[email protected]>
55
# |
66
# Created On : <2023-09-14>
7-
# Last Modified : <2025-06-20>
7+
# Last Modified : <2025-07-22>
88
#
99
# Build chsrc on Windows and upload it to GitHub: the 'pre' release
1010
# ---------------------------------------------------------------
@@ -49,6 +49,11 @@ jobs:
4949
mingw32-make.exe build-in-ci-release-mode
5050
mv chsrc-ci-release.exe chsrc-x86-windows.exe
5151
52+
- name: 为 Android 构建
53+
run: |
54+
mingw32-make.exe build-in-ci-release-mode CC=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/windows-x86_64/bin/aarch64-linux-android21-clang
55+
mv chsrc-ci-release.exe chsrc-arm64-android
56+
5257
- name: List files
5358
run: ls *.exe
5459

@@ -60,4 +65,5 @@ jobs:
6065
files: |
6166
chsrc-x64-windows.exe
6267
chsrc-x86-windows.exe
68+
chsrc-arm64-android
6369
token: ${{ secrets.UPLOAD_TO_GITHUB }}

0 commit comments

Comments
 (0)