Skip to content

Commit

Permalink
Merge pull request #63 from scott-ainsworth/maint/26-github-actions
Browse files Browse the repository at this point in the history
Create build and test github actions

Closes #26
  • Loading branch information
scott-ainsworth authored Dec 28, 2021
2 parents 4e4d8be + 372aad4 commit 19d7b49
Show file tree
Hide file tree
Showing 2 changed files with 31 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
29 changes: 29 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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: Setup Rust Nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components:
- name: Check
run: cargo check --verbose --all
- name: Run Tests
run: cargo test --all -- --nocapture --color always

0 comments on commit 19d7b49

Please sign in to comment.