Replace NIO with Epoll implementation

This commit is contained in:
世界
2021-07-28 14:08:01 +08:00
parent ec21686125
commit a08eefacfd
21 changed files with 134 additions and 117 deletions

View File

@@ -13,34 +13,6 @@ on:
- dev
jobs:
core:
name: Native Build (Core)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Fetch Status
run: git submodule status 'library/core/*' > core_status
- name: Core Cache
id: cache
uses: actions/cache@v2
with:
path: |
app/libs/core-release.aar
key: ${{ hashFiles('core_status') }}
- name: Gradle cache
uses: actions/cache@v2
if: steps.cache.outputs.cache-hit != 'true'
with:
path: ~/.gradle
key: native-${{ hashFiles('**/*.gradle') }}
- name: Native Build
if: steps.cache.outputs.cache-hit != 'true'
run: |
echo "sdk.dir=${ANDROID_HOME}" > local.properties
echo "ndk.dir=${ANDROID_HOME}/ndk/21.4.7075529" >> local.properties
./run init action library
./run lib core
v2ray:
name: Native Build (V2Ray)
runs-on: ubuntu-latest
@@ -252,7 +224,6 @@ jobs:
name: Gradle Build
runs-on: ubuntu-latest
needs:
- core
- v2ray
- shadowsocks
- shadowsocksr
@@ -261,16 +232,9 @@ jobs:
uses: actions/checkout@v2
- name: Fetch Status
run: |
git submodule status 'library/core/*' > core_status
git submodule status 'library/shadowsocks/*' > shadowsocks_status
git submodule status 'library/shadowsocksr/*' > shadowsocksr_status
git submodule status library/v2ray > v2ray_status
- name: Core Cache
uses: actions/cache@v2
with:
path: |
app/libs/core-release.aar
key: ${{ hashFiles('core_status') }}
- name: V2Ray Cache
uses: actions/cache@v2
with: