Cr sqlite update v16 #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go bindings tests CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
merge_group: | |
branches: [ "main" ] | |
jobs: | |
golang-bindings: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- 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/[email protected] | |
with: | |
version: 'latest' | |
- name: configure | |
run: ./configure | |
- name: Build | |
run: make | |
- name: Build crates | |
run: cd crates && cargo build | |
- name: Run Go bindings tests | |
run: cd crates/bindings/go && LD_LIBRARY_PATH=/home/runner/work/libsql/libsql/crates/target/debug go test |