Skip to content

Commit

Permalink
Merge pull request #15 from yutannihilation/ci
Browse files Browse the repository at this point in the history
Add Test CI
  • Loading branch information
tomoyanonymous authored Aug 8, 2024
2 parents f2bb45e + 3d272ae commit ce9e4b8
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI

on:
pull_request:
branches: [main, dev]
push:
branches: [main, dev]
workflow_dispatch:

permissions:
contents: read

jobs:
cargo_test:
name: "cargo test (OS: ${{ matrix.config.os }}"
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- { os: ubuntu-latest }
# - { os: macOS-latest }
# - { os: windows-latest }

steps:
- uses: actions/checkout@v4

- name: Set up Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly

- name: Install system requirements for Linux
if: runner.os == 'Linux'
run: |
sudo apt update -y
sudo apt install -y libasound2-dev
- run: cargo test

0 comments on commit ce9e4b8

Please sign in to comment.