pinnacle/.github/workflows/rust.yml

26 lines
550 B
YAML
Raw Normal View History

2023-06-26 01:31:28 +02:00
name: Rust
on:
push:
2023-06-26 02:12:48 +02:00
branches: ["main"]
2023-06-26 01:31:28 +02:00
pull_request:
2023-06-26 02:12:48 +02:00
branches: ["main"]
2023-06-26 01:31:28 +02:00
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
2023-06-26 02:12:48 +02:00
- uses: actions/checkout@v3
- name: Get dependencies
run: sudo apt install libwayland-dev libxkbcommon-dev libudev-dev libinput-dev libgbm-dev libseat-dev libsystemd-dev
- name: Build
run: cargo build --verbose
2023-06-29 19:29:00 +02:00
- name: Run tests that don't exist
2023-06-26 02:12:48 +02:00
run: cargo test --verbose
- name: Celebratory yahoo
run: echo yahoo