Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
2ebd4be8e7 | |||
1c0cc7b012 |
19 changed files with 19 additions and 21198 deletions
4
.github/workflows/build_pull_request.yml
vendored
4
.github/workflows/build_pull_request.yml
vendored
|
@ -18,7 +18,7 @@ env:
|
|||
jobs:
|
||||
prepare:
|
||||
name: Prepare job
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: docker
|
||||
outputs:
|
||||
individualMatrix: ${{ steps.generate-matrices.outputs.individualMatrix }}
|
||||
steps:
|
||||
|
@ -49,7 +49,7 @@ jobs:
|
|||
build_individual:
|
||||
name: Build individual modules
|
||||
needs: prepare
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: docker
|
||||
strategy:
|
||||
matrix: ${{ fromJSON(needs.prepare.outputs.individualMatrix) }}
|
||||
steps:
|
||||
|
|
37
.github/workflows/build_push.yml
vendored
37
.github/workflows/build_push.yml
vendored
|
@ -21,7 +21,8 @@ env:
|
|||
jobs:
|
||||
prepare:
|
||||
name: Prepare job
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: docker
|
||||
container: ubuntu-latest
|
||||
outputs:
|
||||
individualMatrix: ${{ steps.generate-matrices.outputs.individualMatrix }}
|
||||
steps:
|
||||
|
@ -35,7 +36,7 @@ jobs:
|
|||
run: |
|
||||
set -x
|
||||
projects=(src/*/*)
|
||||
export CI_CHUNK_NUM=${#projects[@]}
|
||||
|
||||
echo "NUM_INDIVIDUAL_MODULES=${#projects[@]}" >> $GITHUB_ENV
|
||||
|
||||
# Temporary pause because of leak of tj-actions/changed-files
|
||||
|
@ -80,7 +81,7 @@ jobs:
|
|||
build_individual:
|
||||
name: Build individual modules
|
||||
needs: prepare
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: docker
|
||||
strategy:
|
||||
matrix: ${{ fromJSON(needs.prepare.outputs.individualMatrix) }}
|
||||
steps:
|
||||
|
@ -94,11 +95,6 @@ jobs:
|
|||
with:
|
||||
java-version: 17
|
||||
distribution: temurin
|
||||
|
||||
- name: Set up Android SDK
|
||||
uses: https://github.com/android-actions/setup-android@00854ea68c109d98c75d956347303bf7c45b0277 # v3
|
||||
with:
|
||||
packages: ""
|
||||
|
||||
- name: Prepare signing key
|
||||
run: |
|
||||
|
@ -116,8 +112,8 @@ jobs:
|
|||
run: chmod +x ./gradlew && ./gradlew -p src assembleRelease
|
||||
|
||||
- name: Upload APKs (chunk ${{ matrix.chunk }})
|
||||
uses: https://code.forgejo.org/forgejo/upload-artifact@16871d9e8cfcf27ff31822cac382bbb5450f1e1e # v4-patch
|
||||
if: "github.repository == 'AlmightyHak/extensions-source'"
|
||||
uses: https://github.com/actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
|
||||
if: "github.repository == 'Kohi-den/extensions-source'"
|
||||
with:
|
||||
name: "individual-apks-${{ matrix.chunk }}"
|
||||
path: "**/*.apk"
|
||||
|
@ -131,34 +127,25 @@ jobs:
|
|||
needs:
|
||||
- build_individual
|
||||
if: "github.repository == 'AlmightyHak/extensions-source'"
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Setup rsync
|
||||
run: |
|
||||
sudo apt-get update && sudo apt install rsync -y
|
||||
|
||||
- name: Download APK artifacts
|
||||
uses: https://code.forgejo.org/forgejo/download-artifact@d8d0a99033603453ad2255e58720b460a0555e1e # v4-patch
|
||||
uses: https://github.com/actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4
|
||||
with:
|
||||
path: ~/apk-artifacts
|
||||
|
||||
|
||||
- name: Set up JDK
|
||||
uses: https://github.com/actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4
|
||||
with:
|
||||
java-version: 17
|
||||
distribution: temurin
|
||||
|
||||
- name: Set up Android SDK
|
||||
uses: https://github.com/android-actions/setup-android@00854ea68c109d98c75d956347303bf7c45b0277 # v3
|
||||
with:
|
||||
packages: "build-tools;34.0.0"
|
||||
|
||||
|
||||
- name: Checkout main branch
|
||||
uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
|
||||
with:
|
||||
ref: main
|
||||
path: main
|
||||
|
||||
|
||||
- name: Create repo artifacts
|
||||
run: |
|
||||
cd main
|
||||
|
@ -166,7 +153,7 @@ jobs:
|
|||
INSPECTOR_LINK="$(curl -s "https://api.github.com/repos/aniyomiorg/aniyomi-extensions-inspector/releases/latest" | jq -r '.assets[0].browser_download_url')"
|
||||
curl -L "$INSPECTOR_LINK" -o ./Inspector.jar
|
||||
java -jar ./Inspector.jar "repo/apk" "output.json" "tmp"
|
||||
python ./.github/scripts/create-repo.py
|
||||
python ./.github/scripts/create-repo.py
|
||||
|
||||
- name: Checkout repo branch
|
||||
uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
|
||||
|
|
21111
SDK/NOTICE.txt
21111
SDK/NOTICE.txt
File diff suppressed because it is too large
Load diff
BIN
SDK/adb
BIN
SDK/adb
Binary file not shown.
BIN
SDK/etc1tool
BIN
SDK/etc1tool
Binary file not shown.
BIN
SDK/fastboot
BIN
SDK/fastboot
Binary file not shown.
BIN
SDK/hprof-conv
BIN
SDK/hprof-conv
Binary file not shown.
Binary file not shown.
|
@ -1,2 +0,0 @@
|
|||
|
||||
24333f8a63b6825ea9c5514f83c2829b004d1fee
|
BIN
SDK/make_f2fs
BIN
SDK/make_f2fs
Binary file not shown.
Binary file not shown.
BIN
SDK/mke2fs
BIN
SDK/mke2fs
Binary file not shown.
|
@ -1,53 +0,0 @@
|
|||
[defaults]
|
||||
base_features = sparse_super,large_file,filetype,dir_index,ext_attr
|
||||
default_mntopts = acl,user_xattr
|
||||
enable_periodic_fsck = 0
|
||||
blocksize = 4096
|
||||
inode_size = 256
|
||||
inode_ratio = 16384
|
||||
reserved_ratio = 1.0
|
||||
|
||||
[fs_types]
|
||||
ext3 = {
|
||||
features = has_journal
|
||||
}
|
||||
ext4 = {
|
||||
features = has_journal,extent,huge_file,dir_nlink,extra_isize,uninit_bg
|
||||
inode_size = 256
|
||||
}
|
||||
ext4dev = {
|
||||
features = has_journal,extent,huge_file,flex_bg,inline_data,64bit,dir_nlink,extra_isize
|
||||
inode_size = 256
|
||||
options = test_fs=1
|
||||
}
|
||||
small = {
|
||||
blocksize = 1024
|
||||
inode_size = 128
|
||||
inode_ratio = 4096
|
||||
}
|
||||
floppy = {
|
||||
blocksize = 1024
|
||||
inode_size = 128
|
||||
inode_ratio = 8192
|
||||
}
|
||||
big = {
|
||||
inode_ratio = 32768
|
||||
}
|
||||
huge = {
|
||||
inode_ratio = 65536
|
||||
}
|
||||
news = {
|
||||
inode_ratio = 4096
|
||||
}
|
||||
largefile = {
|
||||
inode_ratio = 1048576
|
||||
blocksize = -1
|
||||
}
|
||||
largefile4 = {
|
||||
inode_ratio = 4194304
|
||||
blocksize = -1
|
||||
}
|
||||
hurd = {
|
||||
blocksize = 4096
|
||||
inode_size = 128
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
Pkg.UserSrc=false
|
||||
Pkg.Revision=36.0.0
|
BIN
SDK/sqlite3
BIN
SDK/sqlite3
Binary file not shown.
|
@ -18,4 +18,4 @@ allprojects {
|
|||
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,8 +19,8 @@ if (System.getenv("CI") != "true") {
|
|||
} else {
|
||||
// Running in CI (GitHub Actions)
|
||||
|
||||
val chunkSize = System.getenv("CI_CHUNK_SIZE")?.toIntOrNull() ?: Int.MAX_VALUE
|
||||
val chunk = System.getenv("CI_CHUNK_NUM")?.toIntOrNull() ?: 0
|
||||
val chunkSize = System.getenv("CI_CHUNK_SIZE").toInt()
|
||||
val chunk = System.getenv("CI_CHUNK_NUM").toInt()
|
||||
|
||||
// Loads individual extensions
|
||||
File(rootDir, "src").getChunk(chunk, chunkSize)?.forEach {
|
||||
|
|
|
@ -399,3 +399,4 @@ class Xfani : AnimeHttpSource(), ConfigurableAnimeSource {
|
|||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -276,3 +276,4 @@ class Xiaoxintv : AnimeHttpSource() {
|
|||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue