Skip to content

Update rust.yml

Update rust.yml #23

Workflow file for this run

# SPDX-FileCopyrightText: © 2024 David Bliss
#
# SPDX-License-Identifier: GPL-3.0-or-later
name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
run: |
sudo apt-get install -y libgtk-4-dev libglib2.0-dev libadwaita-1-dev build-essential
dpkg -L libglib2.0-dev
- name: Build
run: cargo build --verbose
env:
PKG_CONFIG_PATH: /usr/local/lib
- name: Run tests
run: cargo test --verbose