CrypteCipher/.github/workflows/ci.yml
MoCipher 267d8f6edd
Some checks failed
CI / build (macos-latest, stable) (push) Has been cancelled
CI / build (ubuntu-latest, stable) (push) Has been cancelled
CI / build (windows-latest, stable) (push) Has been cancelled
Initial CrypteCipher scaffold and features
2026-02-12 00:02:00 +01:00

42 lines
984 B
YAML

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [stable]
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
- name: Cache cargo
uses: actions/cache@v4
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ matrix.rust }}
- name: Build
run: cargo build --workspace --verbose
- name: Run Rust tests
run: cargo test --workspace --verbose
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Run Node integration tests (bindings)
working-directory: ./bindings
run: |
npm ci || true
npm test
shell: bash