Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup cross-platform CI #77

Merged
merged 7 commits into from
Dec 28, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Cross-Platform CI
BowTiedRadone marked this conversation as resolved.
Show resolved Hide resolved
BowTiedRadone marked this conversation as resolved.
Show resolved Hide resolved

on:
BowTiedRadone marked this conversation as resolved.
Show resolved Hide resolved
push:
branches:
- master
BowTiedRadone marked this conversation as resolved.
Show resolved Hide resolved
pull_request:
branches:
- master
BowTiedRadone marked this conversation as resolved.
Show resolved Hide resolved

jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 3
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [20.18.0]
BowTiedRadone marked this conversation as resolved.
Show resolved Hide resolved

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test

- name: Run example tests
BowTiedRadone marked this conversation as resolved.
Show resolved Hide resolved
run: |
./rv example counter test
./rv example counter invariant
./rv example cargo test
./rv example cargo invariant
./rv example reverse test
./rv example slice test
BowTiedRadone marked this conversation as resolved.
Show resolved Hide resolved
Loading