Skip to content

Commit

Permalink
feat: adding test workflow and fixing build (#1)
Browse files Browse the repository at this point in the history
note: see #5 to watch it fail
  • Loading branch information
wei3erHase authored Sep 25, 2024
1 parent 6234f98 commit 02684dc
Show file tree
Hide file tree
Showing 5 changed files with 4,603 additions and 1,725 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Rust

on:
push:
branches:
- main
pull_request:
branches:
- "**"

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: "recursive"
fetch-depth: 1

- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Run tests
working-directory: program
run: cargo test --features test-bpf
Loading

0 comments on commit 02684dc

Please sign in to comment.