Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 19 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,28 @@ jobs:
name: Build LibSqlite_Turso
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- name: Checkout code
uses: actions/checkout@v3
- uses: jirutka/setup-alpine@v1
with:
toolchain: stable
- run: |
cargo build
cargo build --release --all-features

arch: x86_64
packages: >
openssl-dev
build-base
pkgconf
lld
rustup

- name: Install Rust stable toolchain via rustup
run: rustup-init --default-toolchain nightly --profile minimal -y
shell: alpine.sh {0}

- run: |
export RUSTFLAGS="-C target-feature=-crt-static"
cargo build
cargo build --release
shell: alpine.sh {0}

- name: Find built shared library
id: find_artifact
shell: bash
Expand Down
Loading