Netflex 0.1.2: new screens, and an ARM build for the Raspberry Pi
Some checks failed
release / release (push) Failing after 18m38s

- Pages from the web app: search, my list, anime hub and anime details,
  settings; the home and detail screens moved under src/screens on the
  shared page model (src/page.rs, ui/page.slint).
- package.sh --arm cross-compiles support.bluefox.netflex-<version>-aarch64.tar.zst,
  which Fennec OS on ARM installs (docs/store.md). The release CI builds
  both: the GStreamer dev packages of amd64 and arm64 can't be installed
  together, so it swaps them between the two builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Tamas Csikel
2026-11-01 18:33:29 +01:00
parent 72d9412a85
commit af4e21ee6f
24 changed files with 3696 additions and 1800 deletions

View File

@@ -1,5 +1,6 @@
# On a tag (v1.2.3): build the app and publish a release with the two store
# assets. sf-ui and sf-pack come from the Fennec SDK (public).
# On a tag (v1.2.3): build the app and publish a release with the store
# assets: app.toml, the x86-64 package and the aarch64 one (Raspberry Pi,
# docs/store.md in Fennec OS). sf-ui and sf-pack come from the Fennec SDK (public).
#
# Runner hygiene (shared host, little disk): runs in the runner image that is
# already on the host (no image pull), uses no `uses:` actions (no action
@@ -33,17 +34,34 @@ jobs:
- name: Toolchain
run: |
export DEBIAN_FRONTEND=noninteractive
# arm64 libraries for the Raspberry Pi build (package.sh --arm):
# Ubuntu serves them from ports.ubuntu.com, the main mirror is amd64 only.
. /etc/os-release
dpkg --add-architecture arm64
if [ -f /etc/apt/sources.list.d/ubuntu.sources ]; then
sed -i '/^Architectures:/d; /^Types:/a Architectures: amd64' /etc/apt/sources.list.d/ubuntu.sources
fi
[ -f /etc/apt/sources.list ] && sed -i 's/^deb \(http\)/deb [arch=amd64] \1/' /etc/apt/sources.list
printf 'Types: deb\nURIs: http://ports.ubuntu.com/ubuntu-ports/\nSuites: %s %s-updates %s-security\nComponents: main universe\nArchitectures: arm64\nSigned-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg\n' \
"$VERSION_CODENAME" "$VERSION_CODENAME" "$VERSION_CODENAME" >/etc/apt/sources.list.d/arm64-ports.sources
apt-get update -qq
# Multiarch dev packages: both architectures at once. The GStreamer
# ones can't be: amd64 now, swapped to arm64 in the Build step.
libs="libfontconfig1-dev libfreetype-dev libxkbcommon-dev libglib2.0-dev"
apt-get install -y -qq --no-install-recommends build-essential pkg-config \
libfontconfig1-dev libfreetype-dev libxkbcommon-dev \
gcc-aarch64-linux-gnu g++-aarch64-linux-gnu libc6-dev-arm64-cross \
$libs $(for l in $libs; do printf '%s:arm64 ' "$l"; done) \
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev >/dev/null
rm -rf /var/lib/apt/lists/*
curl -sSf https://sh.rustup.rs | sh -s -- -y -q --profile minimal --no-modify-path
curl -sSf https://sh.rustup.rs | sh -s -- -y -q --profile minimal --no-modify-path --target aarch64-unknown-linux-gnu
"$CARGO_HOME/bin/cargo" install -q --locked --git "$SDK_GIT" --tag "$SDK_TAG" sf-pack
- name: Build
run: |
export PATH="$CARGO_HOME/bin:$PATH"
"$W/src/package.sh"
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends \
libgstreamer1.0-dev:arm64 libgstreamer-plugins-base1.0-dev:arm64 >/dev/null
rm -rf /var/lib/apt/lists/*
"$W/src/package.sh" --arm
- name: Release
env:
TOKEN: ${{ secrets.GITHUB_TOKEN }}