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:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
ref:
|
||||||
|
description: "git ref"
|
||||||
|
type: string
|
||||||
|
default: master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -12,6 +17,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
repository: fluencelabs/sqlite
|
||||||
|
ref: ${{ inputs.ref }}
|
||||||
|
|
||||||
- name: Setup wasi-sdk
|
- name: Setup wasi-sdk
|
||||||
run: |
|
run: |
|
||||||
@ -21,10 +29,21 @@ jobs:
|
|||||||
- name: Setup Rust toolchain
|
- name: Setup Rust toolchain
|
||||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
|
|
||||||
- name: Setup marine
|
- name: Download marine artifact
|
||||||
uses: fluencelabs/setup-marine@v1
|
id: marine
|
||||||
|
uses: actions/download-artifact@v3
|
||||||
|
continue-on-error: true
|
||||||
with:
|
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
|
- name: Build sqlite-wasm
|
||||||
run: make
|
run: make
|
||||||
|
2
.github/workflows/e2e.yml
vendored
2
.github/workflows/e2e.yml
vendored
@ -16,6 +16,8 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
name: "sqlite"
|
name: "sqlite"
|
||||||
uses: ./.github/workflows/build.yml
|
uses: ./.github/workflows/build.yml
|
||||||
|
with:
|
||||||
|
ref: ${{ github.ref }}
|
||||||
|
|
||||||
snapshot:
|
snapshot:
|
||||||
needs: build
|
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
|
if: needs.release-please.outputs.release-created
|
||||||
needs: release-please
|
needs: release-please
|
||||||
uses: ./.github/workflows/build.yml
|
uses: ./.github/workflows/build.yml
|
||||||
|
with:
|
||||||
|
ref: ${{ github.ref }}
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user