From 9fbbc861b7fe802b83eb7f6b1c876e989eae633b Mon Sep 17 00:00:00 2001 From: Bram Date: Wed, 23 Oct 2024 23:34:23 -0700 Subject: [PATCH] Changes to build-linux workflow --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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