CI(linux) add missing lib #8
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: Build Flutter App | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.19.3' | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Install build tools | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y cmake make ninja-build libgtk-3-dev | |
- name: Build for Linux | |
run: flutter build linux | |
#- name: Build for Android | |
# run: flutter build apk | |
#- name: Build for web | |
# run: flutter build web | |
#- name: Build for Windows | |
# run: flutter build windows | |
#- name: Build for iOS | |
# run: flutter build ios | |
# Add additional steps if you want to build for other platforms such as macOS, etc. |