Files
archived-global-hotkey/.github/workflows/test.yml
Fabian-Lars a25c485b6f chore(deps): objc2 0.6 (#120)
* chore(deps): objc2 0.6

* uwu
2025-01-29 13:41:53 +02:00

43 lines
878 B
YAML

# Copyright 2022-2022 Tauri Programme within The Commons Conservancy
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT
name: test
on:
push:
branches:
- dev
pull_request:
env:
RUST_BACKTRACE: 1
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
fail-fast: false
matrix:
platform: ["windows-latest", "macos-latest", "ubuntu-latest"]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: install system deps
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libxdo-dev
- uses: dtolnay/rust-toolchain@1.71
- run: cargo build
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --all-features