mirror of
https://github.com/fluencelabs/sqlite
synced 2025-04-24 17:02:14 +00:00
parent
46c8c1bb0e
commit
ea4bac91b0
25
.github/workflows/build.yml
vendored
25
.github/workflows/build.yml
vendored
@ -2,6 +2,11 @@ name: Build sqlite artifact
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
ref:
|
||||
description: "git ref"
|
||||
type: string
|
||||
default: master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -12,6 +17,9 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: fluencelabs/sqlite
|
||||
ref: ${{ inputs.ref }}
|
||||
|
||||
- name: Setup wasi-sdk
|
||||
run: |
|
||||
@ -21,10 +29,21 @@ jobs:
|
||||
- name: Setup Rust toolchain
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
|
||||
- name: Setup marine
|
||||
uses: fluencelabs/setup-marine@v1
|
||||
- name: Download marine artifact
|
||||
id: marine
|
||||
uses: actions/download-artifact@v3
|
||||
continue-on-error: true
|
||||
with:
|
||||
version: 0.13.0
|
||||
name: marine
|
||||
path: ~/.local/bin
|
||||
|
||||
- name: Make marine executable
|
||||
if: steps.marine.outcome == 'success'
|
||||
run: chmod +x ~/.local/bin/marine
|
||||
|
||||
- name: Setup marine
|
||||
if: steps.marine.outcome == 'failure'
|
||||
uses: fluencelabs/setup-marine@v1
|
||||
|
||||
- name: Build sqlite-wasm
|
||||
run: make
|
||||
|
2
.github/workflows/e2e.yml
vendored
2
.github/workflows/e2e.yml
vendored
@ -16,6 +16,8 @@ jobs:
|
||||
build:
|
||||
name: "sqlite"
|
||||
uses: ./.github/workflows/build.yml
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
|
||||
snapshot:
|
||||
needs: build
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -38,6 +38,8 @@ jobs:
|
||||
if: needs.release-please.outputs.release-created
|
||||
needs: release-please
|
||||
uses: ./.github/workflows/build.yml
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user