Files
BoilR/.github/workflows/main.yml
T
f19bf2e30f Fix clippy warnings and typos (#434)
* Fix clippy warnings.

* Fixe more clippy warnings.

* Fix exided lifetime warnings in clippy.

* Fix errors.

* Fix errors.

---------

Co-authored-by: Guy Chronister <guyc.linux.patches@gmail.com>
2025-01-12 21:29:42 +01:00

55 lines
1.3 KiB
YAML

name: Test on Push
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test_Ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: dependencies
run: |
sudo apt-get update
sudo apt-get install -y libclang-dev libgtk-3-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev
- name: Test
run: |
cargo test
cargo test --features flatpak
test_Windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Rust Cache
id: rust_cache
uses: Swatinem/rust-cache@v2
- name: Test
run: cargo test
# test_Macos:
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v4
# - name: Install latest stable
# uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# - name: Rust Cache
# id: rust_cache
# uses: Swatinem/rust-cache@v2
# - name: Test
# run: cargo test