Skip to content

Commit

Permalink
CI: add GHA for verifying compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
liushuyu committed Feb 19, 2024
1 parent dfb7ec0 commit 807bac2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Rust

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: hecrj/setup-rust-action@master
with:
rust-version: stable

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libssl-dev pkg-config libsystemd-dev liblzma-dev libdbus-1-dev

- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose

0 comments on commit 807bac2

Please sign in to comment.