File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 2222 release_name : Release ${{ github.ref }}
2323 draft : false
2424 prerelease : false
25+ android-build :
26+ needs : make-release
27+ runs-on : ubuntu-22.04
28+ env :
29+ SDK_VERSION : 1.3.280
30+ steps :
31+ - uses : actions/setup-java@v4
32+ with :
33+ distribution : ' temurin'
34+ java-version : ' 21'
35+ - uses : actions/checkout@v4
36+ - name : Compile vcpkg dependencies
37+ run : ./vcpkg_android.sh
38+ - name : Install Vulkan SDK
39+ run : |
40+ wget -qO - http://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
41+ sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-${SDK_VERSION}-jammy.list http://packages.lunarg.com/vulkan/${SDK_VERSION}/lunarg-vulkan-${SDK_VERSION}-jammy.list
42+ sudo apt-get update
43+ sudo apt-get install vulkan-sdk
44+ - name : Compile gkNextRenderer
45+ run : ./build_android.sh
46+ - name : Create zip file
47+ run : |
48+ zip -r gknextrenderer_android_${{ github.ref_name }}.zip ./android/app/build/outputs/apk/debug/app-debug.apk ./android/assets ./deploy_android.bat
49+ - name : Upload Release Asset
50+ uses : actions/upload-release-asset@v1
51+ env :
52+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53+ with :
54+ upload_url : ${{ needs.make-release.outputs.uploadurl }}
55+ asset_path : ./gknextrenderer_android_${{ github.ref_name }}.zip
56+ asset_name : gknextrenderer_android_${{ github.ref_name }}.zip
57+ asset_content_type : application/zip
2558 linux-build :
2659 needs : make-release
2760 runs-on : ubuntu-22.04
You can’t perform that action at this time.
0 commit comments