mirror of
https://github.com/fluencelabs/sqlite
synced 2025-04-24 17:02:14 +00:00
chore: Use setup-marine action and add e2e [fixes FLU-244 and FLU-68] (#15)
* Use setup-marine action * Add v? * Meh * Set marine version to 0.12.5 * Use marine 0.13.0 * Add e2e * Depend in build
This commit is contained in:
parent
7d81ee9d02
commit
46c8c1bb0e
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -21,10 +21,10 @@ 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: Install Marine
|
- name: Setup marine
|
||||||
uses: baptiste0928/cargo-install@v1.3.1
|
uses: fluencelabs/setup-marine@v1
|
||||||
with:
|
with:
|
||||||
crate: marine
|
version: 0.13.0
|
||||||
|
|
||||||
- name: Build sqlite-wasm
|
- name: Build sqlite-wasm
|
||||||
run: make
|
run: make
|
||||||
|
61
.github/workflows/e2e.yml
vendored
61
.github/workflows/e2e.yml
vendored
@ -16,3 +16,64 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
name: "sqlite"
|
name: "sqlite"
|
||||||
uses: ./.github/workflows/build.yml
|
uses: ./.github/workflows/build.yml
|
||||||
|
|
||||||
|
snapshot:
|
||||||
|
needs: build
|
||||||
|
name: "sqlite-wasm"
|
||||||
|
uses: fluencelabs/sqlite-wasm-connector/.github/workflows/snapshot.yml@master
|
||||||
|
|
||||||
|
registry:
|
||||||
|
needs:
|
||||||
|
- snapshot
|
||||||
|
uses: fluencelabs/registry/.github/workflows/tests.yml@main
|
||||||
|
with:
|
||||||
|
cargo-dependencies: |
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"package": "marine-sqlite-connector",
|
||||||
|
"version": "=${{ needs.snapshot.outputs.version }}",
|
||||||
|
"registry": "fluence"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
spell:
|
||||||
|
needs:
|
||||||
|
- snapshot
|
||||||
|
uses: fluencelabs/spell/.github/workflows/snapshot.yml@main
|
||||||
|
with:
|
||||||
|
cargo-dependencies: |
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"package": "marine-sqlite-connector",
|
||||||
|
"version": "=${{ needs.snapshot.outputs.version }}",
|
||||||
|
"registry": "fluence"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
rust-peer:
|
||||||
|
needs:
|
||||||
|
- spell
|
||||||
|
|
||||||
|
uses: fluencelabs/rust-peer/.github/workflows/snapshot.yml@master
|
||||||
|
with:
|
||||||
|
image-name: "docker.fluence.dev/sqlite-wasm-connector"
|
||||||
|
cargo-dependencies: |
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"package": "fluence-spell-dtos",
|
||||||
|
"version": "=${{ needs.spell.outputs.cargo-version }}",
|
||||||
|
"registry": "fluence"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"package": "fluence-spell-distro",
|
||||||
|
"version": "=${{ needs.spell.outputs.cargo-version }}",
|
||||||
|
"registry": "fluence"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
spell-aqua-tests:
|
||||||
|
name: "spell"
|
||||||
|
needs:
|
||||||
|
- rust-peer
|
||||||
|
uses: fluencelabs/spell/.github/workflows/tests.yml@main
|
||||||
|
with:
|
||||||
|
rust-peer-image: "${{ needs.rust-peer.outputs.rust-peer-image }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user