Skip to content

Commit

Permalink
Setup cross-platform CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BowTiedRadone committed Dec 27, 2024
1 parent 954c2ee commit 00fe59f
Showing 1 changed file with 43 additions and 0 deletions.
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

on:
push:
branches:
- master
pull_request:
branches:
- master

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]

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
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

0 comments on commit 00fe59f

Please sign in to comment.