Add Deno support #28
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: chDB-bun | |
on: | |
pull_request: | |
paths-ignore: | |
- "**/.md" | |
push: | |
branches: ["main"] | |
paths-ignore: | |
- "**/.md" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Fetch library | |
run: | | |
wget https://github.com/chdb-io/chdb/releases/latest/download/linux-x86_64-libchdb.tar.gz | |
tar -xzf linux-x86_64-libchdb.tar.gz | |
sudo mv libchdb.so /usr/lib/libchdb.so | |
sudo ldconfig | |
- uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- run: bun install | |
- run: bun run build | |
- run: bun run example.ts |