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
|
2023-07-09 04:30:09 +02:00
|
|
|
run: sudo apt update && sudo apt install libwayland-dev libxkbcommon-dev libudev-dev libinput-dev libgbm-dev libseat-dev libsystemd-dev
|
2023-06-26 02:12:48 +02:00
|
|
|
- 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
|