ci(linux): explicitly regen .freezed.dart with build_runner --delete-conflicting-outputs
build-linux / build-linux-x64 (push) Failing after 4m18s
build-windows / build-windows-x64 (push) Successful in 1h9m29s

This commit is contained in:
2026-05-05 14:44:00 +02:00
parent 56fae560dd
commit effb0e05c2
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -120,6 +120,15 @@ jobs:
--c-output ./flutter/macos/Runner/bridge_generated.h
cp ./flutter/macos/Runner/bridge_generated.h ./flutter/ios/Runner/bridge_generated.h
# Explicitly regenerate .freezed.dart files. fr_bridge_codegen 1.80.1
# is supposed to invoke build_runner internally, but on Debian 13's
# toolchain that auto-step has been observed to leave a stale or
# half-generated lib/generated_bridge.freezed.dart behind, which then
# fails compilation later in `flutter build linux` with errors like
# `Type 'Int' not found` (unprefixed FFI types). --delete-conflicting-outputs
# ensures the file is fully rebuilt.
(cd flutter && dart run build_runner build --delete-conflicting-outputs)
- name: vcpkg install dependencies (x64-linux)
shell: bash
env:
+1 -1
View File
@@ -79,7 +79,7 @@ export DEBIAN_FRONTEND=noninteractive
apt-get update -qq
apt-get install -y --no-install-recommends \
build-essential clang gcc g++ cmake ninja-build pkg-config nasm yasm \
autoconf automake libtool \
autoconf automake libtool libtool-bin \
libgtk-3-dev libayatana-appindicator3-dev \
libasound2-dev libpulse-dev libpam0g-dev libssl-dev \
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \