-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
toast.yml
26 lines (26 loc) · 968 Bytes
/
toast.yml
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
image: proget.makedeb.org/docker/makedeb/makedeb:ubuntu-jammy
tasks:
install-deps:
command: |
curl -q 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null
echo "deb [signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list
sudo apt-get update
sudo apt-get install bats g++ just libssl-dev libapt-pkg-dev lsb-release pkg-config rustup sudo -y
run-tests:
dependencies: ["install-deps"]
input_paths:
- Cargo.toml
- Cargo.lock
- src/
- rust-toolchain.toml
- rustfmt.toml
- justfile
command: |
cargo fmt --check
cargo clippy -- -D warnings
just build
run-e2e-tests:
dependencies: ["run-tests"]
input_paths:
- tests/
command: bats tests/