Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 17 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

# Builds the Deck on macOS *and* Linux so cross-platform stays honest.
# Builds + tests the Deckard workspace on macOS *and* Linux so cross-platform stays honest.
# (GPUI renders with Metal on macOS and Vulkan via wgpu on Linux.)
#
# COST: free. Standard GitHub-hosted runners (macos-latest, ubuntu-latest) are
Expand Down Expand Up @@ -30,9 +30,15 @@ jobs:
# source of truth. rustup (preinstalled on GitHub runners) auto-installs the
# pinned version and its clippy/rustfmt components on the first cargo call.
- uses: Swatinem/rust-cache@v2
- run: cargo build
- run: cargo build --features tray
- run: cargo clippy --all-targets --features tray -- -D warnings
# Foundry gives the integration tests a local `anvil` to broadcast against
# (deckard-signerd's anvil-fork lane). The daemon tests skip gracefully if it's absent,
# but CI installs it so the broadcast path is actually exercised.
- uses: foundry-rs/foundry-toolchain@v1
- run: cargo build --workspace
- run: cargo build -p deckard-app --features tray
- run: cargo test --workspace
- run: cargo clippy --workspace --all-targets -- -D warnings
- run: cargo clippy -p deckard-app --all-targets --features tray -- -D warnings

linux:
runs-on: ubuntu-latest
Expand All @@ -56,6 +62,10 @@ jobs:
libfontconfig1-dev libfreetype6-dev \
libssl-dev \
libgtk-3-dev libayatana-appindicator3-dev libxdo-dev
- run: cargo build
- run: cargo build --features tray
- run: cargo clippy --all-targets --features tray -- -D warnings
# Foundry (anvil) for the deckard-signerd broadcast integration tests.
- uses: foundry-rs/foundry-toolchain@v1
- run: cargo build --workspace
- run: cargo build -p deckard-app --features tray
- run: cargo test --workspace
- run: cargo clippy --workspace --all-targets -- -D warnings
- run: cargo clippy -p deckard-app --all-targets --features tray -- -D warnings
Loading
Loading