<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Github-Actions on Website of SauceWu</title><link>https://saucewu.github.io/tags/github-actions/</link><description>Recent content in Github-Actions on Website of SauceWu</description><generator>Hugo -- gohugo.io</generator><language>zh</language><lastBuildDate>Fri, 17 Apr 2026 18:00:00 +0000</lastBuildDate><atom:link href="https://saucewu.github.io/tags/github-actions/index.xml" rel="self" type="application/rss+xml"/><item><title>Flutter FFI 插件的 GitHub CI 实践：以 ceres-wallet-core 为例</title><link>https://saucewu.github.io/posts/flutter-ffi-%E6%8F%92%E4%BB%B6%E7%9A%84-github-ci-%E5%AE%9E%E8%B7%B5%E4%BB%A5-ceres-wallet-core-%E4%B8%BA%E4%BE%8B/</link><pubDate>Fri, 17 Apr 2026 18:00:00 +0000</pubDate><guid>https://saucewu.github.io/posts/flutter-ffi-%E6%8F%92%E4%BB%B6%E7%9A%84-github-ci-%E5%AE%9E%E8%B7%B5%E4%BB%A5-ceres-wallet-core-%E4%B8%BA%E4%BE%8B/</guid><description>&lt;h1 id="flutter-ffi-插件的-github-ci-实践以-ceres-wallet-core-为例"&gt;Flutter FFI 插件的 GitHub CI 实践：以 ceres-wallet-core 为例&lt;/h1&gt;
&lt;h2 id="背景"&gt;背景&lt;/h2&gt;
&lt;p&gt;普通 Flutter 插件的 CI 很简单：跑一下 &lt;code&gt;flutter test&lt;/code&gt; 就够了。但 Flutter FFI 插件夹着 C++/Rust native 库，问题就复杂得多——&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;native 库需要在 macOS 上编译 iOS，在 Linux 上编译 Android，不能混&lt;/li&gt;
&lt;li&gt;编译一次要十几分钟，开发者 &lt;code&gt;pub get&lt;/code&gt; 的时候不能让他们自己编&lt;/li&gt;
&lt;li&gt;Trust Wallet Core 有几十万行 C++ 代码，子模块更新需要自动化&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;ceres-wallet-core 的解法是两条 workflow：&lt;/p&gt;</description></item></channel></rss>