Skip to content

Commit

Permalink
Updated CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackPhlox committed Jun 22, 2021
1 parent 9dbe4cc commit 5b7e9d9
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,37 @@ jobs:
needs: update
steps:
- uses: actions/checkout@v2
- name: Update apt
run: sudo apt update
- name: Install pkg-config
run: sudo apt install pkg-config
- name: Install alsa dev tools
run: sudo apt-get install libasound2-dev
- name: Install libudev
run: sudo apt install libudev-dev
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: check
command: check

test:
name: Test Suite
runs-on: ubuntu-latest
needs: update
steps:
- uses: actions/checkout@v2
- name: Update apt
run: sudo apt update
- name: Install pkg-config
run: sudo apt install pkg-config
- name: Install alsa dev tools
run: sudo apt-get install libasound2-dev
- name: Install libudev
run: sudo apt install libudev-dev
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down Expand Up @@ -69,6 +85,14 @@ jobs:
needs: update
steps:
- uses: actions/checkout@v2
- name: Update apt
run: sudo apt update
- name: Install pkg-config
run: sudo apt install pkg-config
- name: Install alsa dev tools
run: sudo apt-get install libasound2-dev
- name: Install libudev
run: sudo apt install libudev-dev
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand All @@ -78,4 +102,4 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
args: -- -D warnings

0 comments on commit 5b7e9d9

Please sign in to comment.