2024-12-04 05:06:32 +02:00

25 lines
478 B
YAML

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
# https://github.com/actions/runner-images
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install system packages
run: sudo apt install -y build-essential libgtk-4-dev libadwaita-1-dev
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose