Skip to content

Commit

Permalink
Remove jlibtorrent for linux + change ci task to test and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
InvictusRMC committed Feb 19, 2024
1 parent db09305 commit a608ad1
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/apk_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ jobs:
- uses: ./.github/actions/checkout_submodules

- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 17
distribution: 'zulu'
java-version: '17'

- name: Build release APK
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/apk_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ jobs:
- uses: ./.github/actions/checkout_submodules

- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 17
distribution: 'zulu'
java-version: '17'

- name: Build release APK
run: |
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
test:
name: Run Tests
runs-on: windows-latest
runs-on: windows-latest # TODO: Ubuntu currently broken.
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -21,7 +21,10 @@ jobs:
java-version: 17

- name: Run tests
run: bash ./gradlew check
run: bash ./gradlew test

- name: Run lint
run: bash ./gradlew ktlintCheck

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
Expand Down
2 changes: 2 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ android {

sourceSets {
main {
// TODO: Find a way to exclude linux .so
// TODO: Reintroduce the jlibtorrent library for linux.
jniLibs.srcDirs = ['../common/libs']
}
}
Expand Down
Binary file removed common/libs/libjlibtorrent-1.2.19.0.so
Binary file not shown.

0 comments on commit a608ad1

Please sign in to comment.