Skip to content

Commit

Permalink
Create build and test github action
Browse files Browse the repository at this point in the history
Issue #26

Signed-off-by: Scott G. Ainsworth <scott@ainsworth.us>
  • Loading branch information
scott-ainsworth committed Dec 28, 2021
1 parent be038df commit d85044a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .cspell/custom-dictionary-folder-avahi-aliases-rs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ HINFO
idents
IDNA
INET
libdbus
locl
luarntlemercier
nocapture
rdata
repr
RUSTDOCFLAGS
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Rust

on:
push:
pull_request:
branches: [ develop, main ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get install --no-install-recommends -y libdbus-1-dev dbus at-spi2-core
- name: Check
run: cargo check --verbose --all
- name: Run tests
run: cargo test --all -- --nocapture --color always

0 comments on commit d85044a

Please sign in to comment.