Skip to content

Commit c7c9bcd

Browse files
authored
feat: Add strategies for sqlite_open call (#1)
* get db url & token from proxy server * _ * _ * _ * _ * _ * _ * _ * _ * _ * _ * _ * _ * _ * _ * _ * _ * _ * _ * _ * _ * _ * _ * more fixes * implement strategies for fetching turso config
1 parent 1b61a5d commit c7c9bcd

File tree

9 files changed

+374
-224
lines changed

9 files changed

+374
-224
lines changed

.github/workflows/build.yaml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,28 @@ jobs:
1313
name: Build LibSqlite_Turso
1414
runs-on: ubuntu-22.04
1515
steps:
16-
- uses: actions/checkout@v2
17-
- uses: actions-rs/toolchain@v1
16+
- name: Checkout code
17+
uses: actions/checkout@v3
18+
- uses: jirutka/setup-alpine@v1
1819
with:
19-
toolchain: stable
20-
- run: |
21-
cargo build
22-
cargo build --release --all-features
23-
20+
arch: x86_64
21+
packages: >
22+
openssl-dev
23+
build-base
24+
pkgconf
25+
lld
26+
rustup
2427
28+
- name: Install Rust stable toolchain via rustup
29+
run: rustup-init --default-toolchain nightly --profile minimal -y
30+
shell: alpine.sh {0}
2531

32+
- run: |
33+
export RUSTFLAGS="-C target-feature=-crt-static"
34+
cargo build
35+
cargo build --release
36+
shell: alpine.sh {0}
37+
2638
- name: Find built shared library
2739
id: find_artifact
2840
shell: bash

0 commit comments

Comments
 (0)