Skip to content

Crater

Crater #59

Workflow file for this run

# Copyright © SixtyFPS GmbH <[email protected]>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
# This workflow checks out and build a bunch of crates that uses Slint,
# with the current branch
name: Crater
on:
workflow_dispatch:
jobs:
crater:
env:
SLINT_NO_QT: 1
CARGO_INCREMENTAL: false
RUST_BACKTRACE: 1
strategy:
fail-fast: false
matrix:
git_url:
# from madewithslint
- "https:/slint-ui/cargo-ui"
- "https:/jturcotte/chiptrack"
- "https:/GaspardCulis/slint-tetris"
- "https:/Futsch1/image-sieve"
#- "https:/dngulin/gpcl" # depends on the winit backend
- "https://codeberg.org/flovansl/co_sl"
- "https://seed.radicle.garden/z3oxAZSLcyXgpa7fcvgtueF49jHpH.git" #vivi
#- "https:/ElevenJune/mastermind_Rust" # Not upgraded to Slint 1.0
#- "https:/Project-Trains/launcher" # Not upgraded to Slint 1.0
- "https:/Vinegret43/dispute"
- "https:/bjorn/raccoin"
- "https://gitlab.com/floers/ordinary"
- "https:/parchlinux/parch-welcome/"
#- "https:/boclair/fractal-explorer" # RE-ENABLE WHEN https:/arturoc/color-rs/pull/2 is released
- "https:/arunpkio/tymoz"
- "https:/Surrealism-All/surrealism-ui-template"
- "https:/Decodetalkers/launchre"
- "https:/Decodetalkers/haruhishot"
- "https:/smalltext/trace-slint/"
- "https:/danrauch/thermocam"
- "https:/saturn77/magnet"
- "https:/Heng30/chatbox"
- "https:/zzq0097/mmm_rs"
- "https:/aka-deVOID/blog"
- "https:/CMahaff/lasim" # many stars
#- "https:/spades9/image-tools" # compile error
- "https:/studylessshape/calculator-by-rs"
- "https:/gleb-skobinsky/system-metrics"
- "https:/AccAutomaton/ECJTU-CAN-Helper"
- "https:/Vadoola/pv-unlocker"
#- "https:/zzoe/liando" # compile error in zstd-safe https:/gyscos/zstd-rs/issues/270
- "https:/Knowit-Objectnet/infoskjerm-trondheim"
- "https:/CaleGlisson/Zelda_pattern_rust"
- "https:/dweiss96/rf2_league_mod_tool"
- "https:/Badless/slint-editor"
- "https:/IvanB101/hamming-huffman"
- "https:/izuku0550/Custom-Note-Builder"
- "https:/mrquantumoff/quadrant_lite"
- "https:/lechos22/p2ptun"
- "https:/ChronosWS/asma"
- "https:/jpnurmi/jpos-weather"
#- "https:/osp-project/RizPackageTools" 404
- "https:/xenein/CountMeDown-rs"
- "https:/vicanso/image-converter"
- "https:/JeremiasMeister/rust-heightmap-generator"
- "https:/leonardosalsi/rustop"
- "https:/joaofl/any-serve"
- "https:/Heng30/rssbox"
- "https:/Heng30/rssbox-android"
- "https:/Heng30/uibox"
#- "https:/Heng30/bitbox" #pinned slint-build version
- "https:/Heng30/solana-wallet-sollet"
- "https:/Heng30/vtbox"
- "https:/ilmai/plugin-things"
- "https:/Risuleia/Tranquilo"
- "https:/hambooooo/hamboo-rs"
- "https:/hambooooo/hamboo-embassy"
#- "https:/Kllngii/Wetterstation" # can't check submodules
- "https:/tredeneo/simple-inventary-management"
# - "https:/xcodes2cn/Xviewer" #copies slint
- "https:/olishmollie/radix"
- "https:/zivit/watchlist"
- "https:/FelgoSDK/RustyWeather"
- "https:/Siiir/k_means-interactive/"
- "https:/ThilinaTLM/docker_ui"
- "https:/PlanetTeamSpeakk/Thermostat"
- "https:/develcooking/Reelix"
- "https:/Albino-Client/AlbinoLauncher"
- "https:/radev1924/profit-first-income-calculator-desktop"
- "https:/JarrodDoyle/slint-fmeditor"
- "https:/planet0104/slint-noframe-window"
- "https:/Obscurely/falion"
- "https:/Dusk-Labs/kira"
- "https:/arihant2math/prontus"
- "https:/TuEmb/can-viewer"
- "https:/limitcool/xm"
- "https:/sloganking/quick-assistant"
- "https:/clay-6/baze64"
- "https:/zilongyang/rust_slint_todos"
- "https:/qhua948/anubis"
- "https:/Surrealism-All/slimk"
# Missing images
# - "https:/rurishigeo/Probe-Downloader"
# - "https:/Tricked-dev/stardew-mod-manager"
# Use our private API (eg: backend winit)
# - "https:/Davide255/LVIE"
# - "https:/Vadoola/Tomotroid"
# - "https:/Horbin-Magician/rotor-rs"
# - "https://codeberg.org/moire/moire" # Broken because of other dependencies.
# Needs extra dependencies
# - "https:/nununoisy/gb-presenter-rs"
# - "https:/nununoisy/nsf-presenter-rs"
# - "https:/bombless/slint-tree"
#- "https:/link9c/media_backup" #(windows only (failed to resolve: use of undeclared crate or module `winres`))
#- "https:/Vadoola/ignition_npp_tools" #windows only
# Not updated to Slint 1.0
#- "https:/jannes/han-cihui"
#- "https:/leofidus/ntfs-explorer"
#- "https:/gsuyemoto/rust-bombfield"
#- "https:/kizeevov/l5"
#- "https:/SergioGasquez/espup-slint"
sub_path: ["."]
os: ["ubuntu-latest"]
include:
- git_url: "https:/griccardos/rusl"
sub_path: "slint"
- git_url: "https:/Berrysoft/tunet-rust"
sub_path: "tunet-gui"
#- git_url: "https:/DanielMadmon/tasker" # needs "themis dep"
# sub_path: "bin/tasker_gui"
- git_url: "https:/matthiasbeyer/distrox"
sub_path: "distrox-gui"
- git_url: "https:/Kllngii/Wetterstation"
sub_path: "wetterstation-ui"
- git_url: "https:/plule/theremotion"
sub_path: "theremotion-ui"
- git_url: "https:/matthiasbeyer/deskodon"
sub_path: "frontend"
- git_url: "https:/malwaredb/malwaredb-rs"
extra_args: "--features=admin,admin-gui"
sub_path: "."
#- git_url: "https:/Martoni/QRNote" # Pins slint version
# sub_path: "qr-note"
#- git_url: "https:/planet0104/satellite_wallpaper"
# sub_path: "."
# os: windows-latest
- git_url: "https:/colelawrence/here-now"
sub_path: "hn-desktop-ui"
- git_url: "https:/MunyaradziMagura/Pomodoro"
sub_path: "pomodoro"
- git_url: "https:/flukejones/asusctl"
sub_path: "rog-control-center"
- git_url: "https:/ellenhp/openlmr"
sub_path: "openlmr-core"
#- git_url: "https:/jenkinsmichpa/coconut_crab"
# sub_path: "coconut_crab_client"
# os: windows-latest
- git_url: "https:/ivabus/lonelyradio"
sub_path: "monoclient-s"
- git_url: "https:/ahqsoftwares/tauri-ahq-store"
sub_path: "src-setup"
- git_url: "https:/qarmin/czkawka"
sub_path: krokiet
- git_url: "https:/Vjze/Rust_demo" # this is using SurrealismUI
sub_path: Rust_Slint
#- git_url: "https:/LeeeSe/MessAuto"
# os: macos-latest
# sub_path: "."
- git_url: "https:/planet0104/USB-Screen/"
extra_args: "--no-default-features --features=editor"
sub_path: "."
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-linux-dependencies
if: runner.os == 'Linux'
with:
extra-packages: libpango1.0-dev libatk1.0-dev libgtk-3-dev alsa-utils libasound2-dev libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libjack-jackd2-dev autoconf libxcb-xrm0 libxcb-xrm-dev automake libxcb-keysyms1-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev libudev-dev clang libavcodec-dev libavformat-dev libavutil-dev libavfilter-dev libavdevice-dev libasound2-dev pkg-config nasm libsoup2.4-dev libfuse3-dev libx11-xcb-dev
# Don't use the cache because we don't run this job often, and it would cache the .cargo/config.toml with extra keys
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- name: setup patch
run: |
echo "" >> ~/.cargo/config.toml
echo [patch.crates-io] >> ~/.cargo/config.toml
echo slint = { path = \"$GITHUB_WORKSPACE/api/rs/slint\" } >> ~/.cargo/config.toml
echo slint-build = { path = \"$GITHUB_WORKSPACE/api/rs/build\" } >> ~/.cargo/config.toml
echo slint-interpreter = { path = \"$GITHUB_WORKSPACE/internal/interpreter\" } >> ~/.cargo/config.toml
echo i-slint-backend-winit = { path = \"$GITHUB_WORKSPACE/internal/backends/winit\" } >> ~/.cargo/config.toml
- name: Checkout the repo
run: |
cd $HOME
git clone ${{ matrix.git_url }} the_repo --depth 1
cd the_repo
git submodule update --init --recursive
- name: build
run: |
cd $HOME/the_repo
rm -r rust-toolchain.toml .cargo/config.toml || true
cd ${{ matrix.sub_path }}
sed -i "s/{{project-name}}/the-project/" Cargo.toml
cargo update
cargo check ${{ matrix.extra_args }}
# Slint only: how can we test them?
# https:/Surrealism-All/SurrealismUI
# https:/8yteDance/SlintSubMenu
# C++
# https:/LeVietXuanKG/TodoApp_Slint
# https:/NatnaelTaddese/slint_cpp_bilinear_interpolation
# https:/vudinhkhoa0/DEMO_DOAN_CTDL-GT
# https:/progzone122/micropad