mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-19 22:43:32 +00:00
trying to up android build
This commit is contained in:
36
.github/workflows/android.yml
vendored
Normal file
36
.github/workflows/android.yml
vendored
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
name: Android Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: windows-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Download Android NDK r14b
|
||||||
|
shell: powershell
|
||||||
|
run: |
|
||||||
|
Invoke-WebRequest `
|
||||||
|
-Uri "http://dl.google.com/android/repository/android-ndk-r14b-windows-x86_64.zip" `
|
||||||
|
-OutFile "ndk.zip"
|
||||||
|
|
||||||
|
- name: Extract NDK
|
||||||
|
shell: powershell
|
||||||
|
run: |
|
||||||
|
Expand-Archive ndk.zip C:\
|
||||||
|
|
||||||
|
- name: Verify NDK path
|
||||||
|
shell: powershell
|
||||||
|
run: |
|
||||||
|
Test-Path "C:\android-ndk-r14b"
|
||||||
|
|
||||||
|
- name: Run build script
|
||||||
|
shell: powershell
|
||||||
|
run: |
|
||||||
|
./build.ps1
|
||||||
@@ -334,6 +334,13 @@ set(GIT_REPO "https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1")
|
|||||||
|
|
||||||
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION .)
|
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION .)
|
||||||
|
|
||||||
|
if(NOT UNIX)
|
||||||
|
install(FILES
|
||||||
|
$<TARGET_RUNTIME_DLLS:${PROJECT_NAME}>
|
||||||
|
DESTINATION .
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
install(DIRECTORY "${CMAKE_SOURCE_DIR}/data" DESTINATION .)
|
install(DIRECTORY "${CMAKE_SOURCE_DIR}/data" DESTINATION .)
|
||||||
|
|
||||||
string(TIMESTAMP CURRENT_DATE "%Y-%m-%d")
|
string(TIMESTAMP CURRENT_DATE "%Y-%m-%d")
|
||||||
|
|||||||
Reference in New Issue
Block a user