Skip to content

Commit

Permalink
Add github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Uriopass committed Nov 30, 2024
1 parent 2727315 commit 8c12a83
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/rust-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: rust-build

on:
push:
branches:
- '*'
pull_request:
branches:
- master

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
submodules: true
- name: Install Rust
uses: hecrj/setup-rust-action@v2
with:
rust-version: 'stable'
- name: Check
run: cargo check --verbose --tests --examples
- name: Run tests
run: cargo test --verbose

0 comments on commit 8c12a83

Please sign in to comment.