mirror of
https://github.com/tursodatabase/libsql.git
synced 2025-05-29 03:43:16 +00:00
42 lines
712 B
YAML
42 lines
712 B
YAML
name: Makefile CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
merge_group:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
maketest:
|
|
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: ./libsql-sqlite3
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: get TCL
|
|
run: sudo apt-get install -y tcl8.6-dev
|
|
|
|
- name: Install Protoc
|
|
uses: arduino/setup-protoc@v2
|
|
|
|
- name: Install Wasmpack
|
|
uses: jetli/wasm-pack-action@v0.4.0
|
|
with:
|
|
version: 'latest'
|
|
|
|
- name: configure
|
|
run: ./configure
|
|
|
|
- name: Run tests
|
|
run: make test
|
|
|
|
# Rust tests are run under maketestwasm
|
|
|
|
- name: Run API tests
|
|
run: make testlibsql
|