Skip to content

Commit

Permalink
initial github actions setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyhmiller committed Jul 28, 2024
1 parent 6e14641 commit a4d2217
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Run Cargo Tests

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
feature-combination:
- "--features compacting,thread-safe"
- "--features simple-generation,thread-safe"
- "--features simple-mark-and-sweep,thread-safe"
- "--features compacting"
- "--features simple-generation"
- "--features simple-mark-and-sweep"

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true

- name: Run tests with features
run: cargo test ${{ matrix.feature-combination }}

0 comments on commit a4d2217

Please sign in to comment.