Added new logs, and fixed github build fails #2
This file contains hidden or 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: Desktop CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| target: linux | |
| - os: windows-latest | |
| target: windows | |
| - os: macos-latest | |
| target: macos | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| channel: stable | |
| cache: true | |
| - name: Install Linux build deps | |
| if: matrix.target == 'linux' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y ninja-build libgtk-3-dev liblzma-dev | |
| - name: Enable desktop target | |
| run: flutter config --enable-${{ matrix.target }}-desktop | |
| - run: flutter pub get | |
| - run: flutter analyze | |
| - run: flutter test | |
| - run: flutter build ${{ matrix.target }} --release |