mirror of
https://github.com/dyhkwong/Exclave.git
synced 2026-06-08 10:03:25 +08:00
Update plugin build action
This commit is contained in:
104
.github/workflows/debug.yml
vendored
104
.github/workflows/debug.yml
vendored
@@ -111,31 +111,31 @@ jobs:
|
||||
with:
|
||||
name: "NAIVE-SHA256-${{ matrix.arch }} ${{ env.SHA256SUM }}"
|
||||
path: sha256sum.txt
|
||||
# pingtunnel:
|
||||
# name: Native Build (PingTunnel)
|
||||
# runs-on: ubuntu-latest
|
||||
# needs:
|
||||
# - setup
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v2
|
||||
# - name: Fetch Status
|
||||
# run: git submodule status 'plugin/pingtunnel/*' > pt_status
|
||||
# - name: PingTunnel Cache
|
||||
# id: cache
|
||||
# uses: actions/cache@v2
|
||||
# with:
|
||||
# path: |
|
||||
# plugin/pingtunnel/src/main/jniLibs
|
||||
# key: ${{ hashFiles('.github/workflows/*', 'bin/lib/pingtunnel/*', 'pt_status') }}
|
||||
# - name: Install Golang
|
||||
# uses: actions/setup-go@v2
|
||||
# if: steps.cache.outputs.cache-hit != 'true'
|
||||
# with:
|
||||
# go-version: 1.16
|
||||
# - name: Native Build
|
||||
# if: steps.cache.outputs.cache-hit != 'true'
|
||||
# run: ./run plugin pingtunnel
|
||||
# pingtunnel:
|
||||
# name: Native Build (PingTunnel)
|
||||
# runs-on: ubuntu-latest
|
||||
# needs:
|
||||
# - setup
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v2
|
||||
# - name: Fetch Status
|
||||
# run: git submodule status 'plugin/pingtunnel/*' > pt_status
|
||||
# - name: PingTunnel Cache
|
||||
# id: cache
|
||||
# uses: actions/cache@v2
|
||||
# with:
|
||||
# path: |
|
||||
# plugin/pingtunnel/src/main/jniLibs
|
||||
# key: ${{ hashFiles('.github/workflows/*', 'bin/lib/pingtunnel/*', 'pt_status') }}
|
||||
# - name: Install Golang
|
||||
# uses: actions/setup-go@v2
|
||||
# if: steps.cache.outputs.cache-hit != 'true'
|
||||
# with:
|
||||
# go-version: 1.16
|
||||
# - name: Native Build
|
||||
# if: steps.cache.outputs.cache-hit != 'true'
|
||||
# run: ./run plugin pingtunnel
|
||||
relaybaton:
|
||||
name: Native Build (RelayBaton)
|
||||
runs-on: ubuntu-latest
|
||||
@@ -211,6 +211,60 @@ jobs:
|
||||
- name: Native Build
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: ./run plugin hysteria
|
||||
mieru:
|
||||
name: Native Build (Mieru)
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- setup
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Fetch Status
|
||||
run: git submodule status 'plugin/mieru/*' > mieru_status
|
||||
- name: Mieru Cache
|
||||
id: cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
plugin/mieru/src/main/jniLibs
|
||||
key: ${{ hashFiles('.github/workflows/*', 'bin/lib/mieru/*', 'mieru_status') }}
|
||||
- name: Install Golang
|
||||
uses: actions/setup-go@v2
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
with:
|
||||
go-version: 1.18.3
|
||||
- name: Native Build
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: ./run plugin mieru
|
||||
tuic:
|
||||
name: Native Build (TUIC)
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- setup
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Fetch Status
|
||||
run: git submodule status 'plugin/tuic/*' > tuic_status
|
||||
- name: Tuic Cache
|
||||
id: cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
plugin/tuic/src/main/jniLibs
|
||||
key: ${{ hashFiles('.github/workflows/*', 'bin/lib/tuic/*', 'tuic_status') }}
|
||||
- name: Install toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
- name: Install rust android target
|
||||
run: ./run init action rust
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
- name: Native Build
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: ./run plugin tuic
|
||||
lint:
|
||||
name: Android Lint
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user