mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-05 16:15:43 +00:00
Isolate extension WebView profiles and follow host proxy settings
This commit is contained in:
1 parent
cee5f3336e
commit
a0e84a75b1
556 files changed
+71097
-31
No files matched your search
@@ -0,0 +1,48 @@
|
||||
name: WebView host profiles
|
||||
on:
|
||||
push:
|
||||
paths: ['internal/webview/**', 'pkg/download/extension_webview*', 'ui/flutter/third_party/**', 'ui/flutter/lib/app/rpc/webview*', 'ui/flutter/tool/webview_profile_check.dart', '.github/workflows/webview-profiles.yml']
|
||||
pull_request:
|
||||
paths: ['internal/webview/**', 'pkg/download/extension_webview*', 'ui/flutter/third_party/**', 'ui/flutter/lib/app/rpc/webview*', 'ui/flutter/tool/webview_profile_check.dart', '.github/workflows/webview-profiles.yml']
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
android-plugin:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: '17'
|
||||
- uses: subosito/flutter-action@v2
|
||||
with:
|
||||
flutter-version: '3.41.6'
|
||||
- run: flutter pub get
|
||||
working-directory: ui/flutter
|
||||
- run: ./gradlew :flutter_inappwebview_android:compileDebugJavaWithJavac
|
||||
working-directory: ui/flutter/android
|
||||
apple-plugin:
|
||||
runs-on: macos-14
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.25.4'
|
||||
- uses: subosito/flutter-action@v2
|
||||
with:
|
||||
flutter-version: '3.41.6'
|
||||
- name: Build Go host
|
||||
run: go build -buildmode=c-shared -o ui/flutter/macos/Frameworks/libgopeed.dylib ./bind/desktop
|
||||
- name: Check native macOS profiles
|
||||
working-directory: ui/flutter
|
||||
run: |
|
||||
flutter pub get
|
||||
flutter build macos --debug -t tool/webview_profile_check.dart
|
||||
build/macos/Build/Products/Debug/Gopeed.app/Contents/MacOS/Gopeed
|
||||
- name: Compile iOS native plugin
|
||||
working-directory: ui/flutter
|
||||
run: |
|
||||
flutter build ios --simulator --config-only
|
||||
cd ios
|
||||
pod install
|
||||
xcodebuild -project Pods/Pods.xcodeproj -target flutter_inappwebview_ios -sdk iphonesimulator -configuration Debug CODE_SIGNING_ALLOWED=NO build
|
||||
Reference in new issue
Block a user