forked from slint-ui/slint
-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (65 loc) · 2.48 KB
/
crater.yaml
File metadata and controls
69 lines (65 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# SPDX-License-Identifier: GPL-3.0-only 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://github.com/slint-ui/cargo-ui"
- "https://github.com/Futsch1/image-sieve"
- "https://github.com/jturcotte/chiptrack"
- "https://codeberg.org/Be.ing/moire"
- "https://github.com/Project-Trains/launcher"
- "https://github.com/jmdaemon/timesync"
- "https://github.com/Kroisse/sudoku"
- "https://github.com/jannes/han-cihui"
- "https://github.com/leofidus/ntfs-explorer"
- "https://github.com/ElevenJune/mastermind_Rust"
- "https://github.com/xentec/camview"
- "https://github.com/Yuhanawa/Mirror-source-assistant"
- "https://github.com/b1tg/copy-net-info"
- "https://github.com/planet0104/wxcode-client"
- "https://github.com/SeriousBug/kiraz"
- "https://github.com/jamesblacklock/budget"
- "https://github.com/LuXts/toy-parse"
- "https://codeberg.org/flovan/phoenix-wing-rust"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install Linux Dependencies
run: |
sudo apt-get update
sudo apt-get install libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libpango1.0-dev libatk1.0-dev libgtk-3-dev alsa-utils libasound2-dev libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libjack-jackd2-dev
- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- uses: Swatinem/rust-cache@v1
- 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
- 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
cargo update
cargo build