Skip to content

Crater

Crater #44

Workflow file for this run

# Copyright © SixtyFPS GmbH <[email protected]>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
# 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:
- "https:/slint-ui/cargo-ui"
# from madewithslint
- "https:/slint-ui/cargo-ui"
- "https:/jturcotte/chiptrack"
- "https:/GaspardCulis/slint-tetris"
- "https:/Futsch1/image-sieve"
- "https:/dngulin/gpcl"
- "https://codeberg.org/flovansl/co_sl"
#- "https:/ElevenJune/mastermind_Rust" # Not upgraded to Slint 1.0
#- "https:/Project-Trains/launcher" # Not upgraded to Slint 1.0
- "https:/Vinegret43/dispute"
- "https://codeberg.org/moire/moire"
- "https:/Decodetalkers/launchre"
- "https:/Decodetalkers/haruhishot"
- "https:/smalltext/trace-slint/"
- "https:/danrauch/thermocam"
- "https:/saturn77/magnet"
- "https:/Heng30/chatbox"
- "https:/Davide255/LVIE"
- "https:/zzq0097/mmm_rs"
- "https:/rurishigeo/Probe-Downloader"
- "https:/aka-deVOID/blog"
- "https:/CMahaff/lasim" # many stars
- "https:/spades9/image-tools"
- "https:/studylessshape/calculator-by-rs"
- "https:/gleb-skobinsky/system-metrics"
- "https:/AccAutomaton/ECJTU-CAN-Helper"
- "https:/Vadoola/pv-unlocker"
- "https:/Vadoola/ignition_npp_tools"
- "https:/Vadoola/Tomotroid"
- "https:/Tricked-dev/stardew-mod-manager"
- "https:/Horbin-Magician/rotor-rs"
- "https:/zzoe/liando"
- "https:/Knowit-Objectnet/infoskjerm-trondheim"
- "https:/CaleGlisson/Zelda_pattern_rust"
- "https:/bombless/slint-tree"
- "https:/dweiss96/rf2_league_mod_tool"
- "https:/Amulet9/slint_layer_shell"
- "https:/Badless/slint-editor"
- "https:/IvanB101/hamming-huffman"
- "https:/colelawrence/here-now"
- "https:/izuku0550/Custom-Note-Builder"
- "https:/Frank1126lin/ImageShowWithSlint"
- "https:/mrquantumoff/quadrant_lite"
- "https:/Tibor-S/vis"
# Needs extra dependencies
# - "https:/nununoisy/gb-presenter-rs"
# - "https:/nununoisy/nsf-presenter-rs"
#- "https:/link9c/media_backup" #(windows only (failed to resolve: use of undeclared crate or module `winres`))
# 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: ["."]
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"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-linux-dependencies
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
# Don't use the cache because we don't run this job often, and it would cache the .cargo/config with extra keys
- uses: dtolnay/rust-toolchain@stable
- name: setup patch
run: |
echo "" >> ~/.cargo/config
echo [patch.crates-io] >> ~/.cargo/config
echo slint = { path = \"$GITHUB_WORKSPACE/api/rs/slint\" } >> ~/.cargo/config
echo slint-build = { path = \"$GITHUB_WORKSPACE/api/rs/build\" } >> ~/.cargo/config
echo i-slint-backend-winit = { path = \"$GITHUB_WORKSPACE/internal/backends/winit\" } >> ~/.cargo/config
- name: Checkout the repo
run: |
cd $HOME
git clone ${{ matrix.git_url }} the_repo --depth 1
cd the_repo
git submodule update --init
- name: build
run: |
cd $HOME/the_repo
cd ${{ matrix.sub_path }}
cargo update
cargo check