Files
turso/.github/workflows/rust.yml
Pekka Enberg 94c827d5ae First pass on compatibility tests
With some help from GPT, add a TCL script that has similar syntax as
some of the SQLite source tree tests.
2024-06-19 16:11:55 +03:00

36 lines
725 B
YAML

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build-native:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run Rust tests
run: cargo test --verbose
- name: Run compatibility tests
run: make test
build-wasm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- run: wasm-pack build --target nodejs bindings/wasm