Skip to content

Commit

Permalink
Run CI on other operating systems (#91)
Browse files Browse the repository at this point in the history
* Run CI on other operating systems

* Don't run twice in pull requests

* Windows is too slow
  • Loading branch information
rparrett authored Jan 15, 2025
1 parent a8b646b commit 352a3dc
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
name: CI
on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Install alsa and udev
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
if: runner.os == 'Linux'
- name: check
run: cargo check
- name: examples
Expand Down

0 comments on commit 352a3dc

Please sign in to comment.