diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a1aa1cc..8b55849 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -117,7 +117,12 @@ jobs: cache: true flutter-version: ${{ matrix.sdk == 'min' && env.FLUTTER_MIN_SDK || '' }} channel: ${{ matrix.sdk == 'min' && 'stable' || matrix.sdk }} - - run: flutter config --enable-linux-desktop + - name: Setup Linux build environment + run: | + flutter config --enable-linux-desktop + sudo apt-get install -y ninja-build + sudo apt-get install -y libgtk-3-dev + export CMAKE_CXX_COMPILER=$(which g++) - name: Build example Linux package run: flutter build linux working-directory: example