Fix recent changes for Linux and add pipeline for testing Linux build… #1
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
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) |