Skip to content

Release Windows test fixes. #214

Release Windows test fixes.

Release Windows test fixes. #214

Workflow file for this run

name: build
on: [workflow_dispatch, push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Linux build dependencies
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt update -y
sudo apt install -y build-essential gnome-keyring
- name: Fetch head
uses: actions/checkout@v4
- name: Install Rust Toolchain (stable)
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Build (debug)
run: cargo build --verbose --all-targets
- name: Linux tests
if: matrix.os == 'ubuntu-latest'
run: dbus-run-session -- bash linux-test.sh
- name: Non-linux tests
if: matrix.os != 'ubuntu-latest'
run: cargo test --verbose
- name: Format check
run: cargo fmt --all -- --check
- name: Clippy check
run: cargo clippy -- -D warnings