Add the SQLite C library as a Ziran package
The binding started in Inbe's storage code: SQLite's own functions and return codes, plus variants that take Ziran strings and copy them to the NUL-terminated text SQLite expects. The test opens an in-memory database and checks text with escapes, 64-bit integers, statement reuse, long SQL, errors, and a refused tail pointer.
This commit is contained in:
commit
ddb130a0e6
9 files changed
+440
No files matched your search
@@ -0,0 +1,30 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
path: sqlite
|
||||
|
||||
- name: Install SQLite
|
||||
run: sudo apt-get update && sudo apt-get install -y libsqlite3-dev
|
||||
|
||||
- name: Build the ziran launcher
|
||||
run: |
|
||||
git clone --depth 1 https://github.com/ziranlang/ziran.git ziran
|
||||
make -C ziran
|
||||
echo "$PWD/ziran/build/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- name: Test
|
||||
working-directory: sqlite
|
||||
run: |
|
||||
ziran fetch --locked
|
||||
make check
|
||||
Reference in new issue
Block a user