Files
AmazeFileManager/.github/workflows/android-feature.yml
T
TranceLove b830d19292 FTP client support
Fixes #1570.

- Refactored SshConnectionPool to more generic NetCopyClientConnectionPool
- Change SshClientTemplate to NetCopyClientTemplate
- Implement FTP client support. Defaults to passive FTP and implicit SSL for FTPS
- Add optional thread safety to NetCopyClientConnectionPool on executing NetCopyClientTemplate, as Apache FTPClient is not thread safe. This shall bring deadlocks when connecting to FTP servers, but let's see...
- Migrated GetSshHostFingerprintTask and SshAuthenticationTaskCallable to callable and RxJava, in align with FTP client implementation
- Downgrade Apache FTP server to 1.1.1, as problems found with enabling TLS at Amaze FTP server after previous upgrade to 1.1.4

Tested on Pixel 2 emulator running Android 11, against Amaze FTP server running on Oneplus 2 running Lineage OS 18.1 (11).
2022-08-31 23:53:59 +08:00

47 lines
1.2 KiB
YAML

name: Android Feature CI
on:
pull_request:
branches:
- 'master'
- 'release/*'
- 'hotfix/*'
concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
check_spotless:
name: Check spotless
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: "corretto"
java-version: 11
- name: Check formatting using spotless
uses: gradle/gradle-build-action@v2
with:
arguments: spotlessCheck --stacktrace
build:
name: Build debug and run Jacoco tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: "corretto"
java-version: 11
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: assembledebug --stacktrace
- name: Run test cases
uses: gradle/gradle-build-action@v2
with:
arguments: jacocoTestPlayDebugUnitTestReport --stacktrace --info