-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix recent changes for Linux and add pipeline for testing Linux builds (
#157) * Add workflow for testing Linux * Fix Linux build errors /webview_cef/example/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/common/webview_js_handler.cc:180:21: error: enumeration value 'UNKNOWN' not handled in switch [-Werror,-Wswitch] /webview_cef/example/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/common/webview_plugin.cc:434:24: error: 4 enumeration values not handled in switch: 'VTYPE_INVALID', 'VTYPE_NULL', 'VTYPE_BINARY'... [-Werror,-Wswitch] /webview_cef/example/linux/flutter/ephemeral/.plugin_symlinks/webview_cef/common/webview_plugin.cc:430:41: error: variable 'retValue' is uninitialized when used here [-Werror,-Wuninitialized]
- Loading branch information
Showing
3 changed files
with
51 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Test if the example app still builds on Linux x86 | ||
on: | ||
push: | ||
branches: ["main"] | ||
paths: | ||
- "common/**" | ||
- "example/**" | ||
- "lib/**" | ||
- "linux/**" | ||
- "third/**" | ||
- "pubspec.yaml" | ||
- ".github/workflows/test_linux_x86.yaml" | ||
pull_request: | ||
paths: | ||
- "common/**" | ||
- "example/**" | ||
- "lib/**" | ||
- "linux/**" | ||
- "third/**" | ||
- "pubspec.yaml" | ||
- ".github/workflows/test_linux_x86.yaml" | ||
|
||
jobs: | ||
main: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v4 | ||
- name: Set up Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: stable | ||
- run: | | ||
sudo apt-get update -y | ||
sudo apt-get install -y ninja-build libgtk-3-dev clang cmake pkg-config build-essential | ||
- run: flutter --version | ||
- run: lsb_release -a | ||
- run: clang --version | ||
- run: cmake --version | ||
- run: g++ --version | ||
- run: (cd example && flutter build linux) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters