mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
Update CI for android
This commit is contained in:
16
.github/workflows/actions.yml
vendored
16
.github/workflows/actions.yml
vendored
@@ -1,11 +1,7 @@
|
|||||||
name: Sanity
|
name: Sanity
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
|
||||||
- 'main'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
|
||||||
- 'main'
|
|
||||||
env:
|
env:
|
||||||
GTEST_OUTPUT: xml:./
|
GTEST_OUTPUT: xml:./
|
||||||
jobs:
|
jobs:
|
||||||
@@ -797,6 +793,8 @@ jobs:
|
|||||||
android:
|
android:
|
||||||
needs: [ what-to-make ]
|
needs: [ what-to-make ]
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
env:
|
||||||
|
VCPKG_DEFAULT_TRIPLET: x64-android
|
||||||
steps:
|
steps:
|
||||||
- name: Get Source
|
- name: Get Source
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -820,6 +818,14 @@ jobs:
|
|||||||
- name: Install NDK
|
- name: Install NDK
|
||||||
run: sdkmanager "ndk;26.1.10909125"
|
run: sdkmanager "ndk;26.1.10909125"
|
||||||
|
|
||||||
|
- name: Setup vcpkg
|
||||||
|
uses: lukka/run-vcpkg@v11
|
||||||
|
with:
|
||||||
|
vcpkgGitCommitId: c8696863d371ab7f46e213d8f5ca923c4aef2a00
|
||||||
|
|
||||||
- name: Build Transmission
|
- name: Build Transmission
|
||||||
working-directory: ./android
|
working-directory: ./android
|
||||||
run: gradle build
|
run: |
|
||||||
|
export ANDROID_NDK_HOME=$ANDROID_SDK_ROOT/ndk/26.1.10909125
|
||||||
|
vcpkg install openssl curl --triplet x64-android
|
||||||
|
gradle build
|
||||||
|
|||||||
Reference in New Issue
Block a user