Skip to content

Commit

Permalink
ci: add the ci for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
amikai committed Oct 10, 2024
1 parent 1543d98 commit d3176c7
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: ci

on:
push:
branches:
- "master"
tags:
- "v*.*.*"


jobs:
build-test:
strategy:
matrix:
rust: [stable]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
name: test
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}

- name: Unit test
run: |
cargo test

0 comments on commit d3176c7

Please sign in to comment.