mirror of
https://github.com/fluencelabs/sqlite
synced 2025-04-24 17:02:14 +00:00
chore: Use new setup rust action and fix e2e (#22)
* Use new setup rust action * Fix e2e * Add rust-toolchain file * Fix
This commit is contained in:
parent
0feed3f180
commit
94366b95ae
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
|||||||
mv wasi-sdk-* wasi-sdk
|
mv wasi-sdk-* wasi-sdk
|
||||||
|
|
||||||
- name: Setup Rust toolchain
|
- name: Setup Rust toolchain
|
||||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
uses: dsherret/rust-toolchain-file@v1
|
||||||
|
|
||||||
- name: Setup marine
|
- name: Setup marine
|
||||||
uses: fluencelabs/setup-marine@v1
|
uses: fluencelabs/setup-marine@v1
|
||||||
|
42
.github/workflows/e2e.yml
vendored
42
.github/workflows/e2e.yml
vendored
@ -56,11 +56,26 @@ jobs:
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
rust-peer:
|
decider:
|
||||||
needs:
|
needs:
|
||||||
- spell
|
- spell
|
||||||
|
uses: fluencelabs/decider/.github/workflows/snapshot.yml@main
|
||||||
|
with:
|
||||||
|
cargo-dependencies: |
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"package": "fluence-spell-dtos",
|
||||||
|
"version": "=${{ needs.spell.outputs.cargo-version }}",
|
||||||
|
"registry": "fluence"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
uses: fluencelabs/rust-peer/.github/workflows/build.yml@master
|
nox:
|
||||||
|
needs:
|
||||||
|
- spell
|
||||||
|
- decider
|
||||||
|
|
||||||
|
uses: fluencelabs/nox/.github/workflows/build.yml@master
|
||||||
with:
|
with:
|
||||||
cargo-dependencies: |
|
cargo-dependencies: |
|
||||||
[
|
[
|
||||||
@ -73,35 +88,40 @@ jobs:
|
|||||||
"package": "fluence-spell-distro",
|
"package": "fluence-spell-distro",
|
||||||
"version": "=${{ needs.spell.outputs.cargo-version }}",
|
"version": "=${{ needs.spell.outputs.cargo-version }}",
|
||||||
"registry": "fluence"
|
"registry": "fluence"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"package": "decider-distro",
|
||||||
|
"version": "=${{ needs.decider.outputs.cargo-version }}",
|
||||||
|
"manifest": "crates/system-services/Cargo.toml",
|
||||||
|
"registry": "fluence"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
rust-peer-snapshot:
|
nox-snapshot:
|
||||||
name: "rust-peer"
|
name: "nox"
|
||||||
needs:
|
needs:
|
||||||
- rust-peer
|
- nox
|
||||||
|
|
||||||
uses: fluencelabs/rust-peer/.github/workflows/container.yml@master
|
uses: fluencelabs/nox/.github/workflows/container.yml@master
|
||||||
with:
|
with:
|
||||||
image-name: "docker.fluence.dev/sqlite-wasm-connector"
|
image-name: "docker.fluence.dev/sqlite-wasm-connector"
|
||||||
flavour: "minimal"
|
flavour: "minimal"
|
||||||
rust-peer-sha: "${{ needs.rust-peer.outputs.rust-peer-sha }}"
|
|
||||||
|
|
||||||
spell-aqua-tests:
|
spell-aqua-tests:
|
||||||
name: "spell"
|
name: "spell"
|
||||||
needs:
|
needs:
|
||||||
- rust-peer-snapshot
|
- nox-snapshot
|
||||||
uses: fluencelabs/spell/.github/workflows/tests.yml@main
|
uses: fluencelabs/spell/.github/workflows/tests.yml@main
|
||||||
with:
|
with:
|
||||||
rust-peer-image: "${{ needs.rust-peer-snapshot.outputs.rust-peer-image }}"
|
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"
|
||||||
|
|
||||||
registry:
|
registry:
|
||||||
needs:
|
needs:
|
||||||
- snapshot
|
- snapshot
|
||||||
- rust-peer-snapshot
|
- nox-snapshot
|
||||||
uses: fluencelabs/registry/.github/workflows/tests.yml@main
|
uses: fluencelabs/registry/.github/workflows/tests.yml@main
|
||||||
with:
|
with:
|
||||||
rust-peer-image: "${{ needs.rust-peer-snapshot.outputs.rust-peer-image }}"
|
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"
|
||||||
cargo-dependencies: |
|
cargo-dependencies: |
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
9
rust-toolchain.toml
Normal file
9
rust-toolchain.toml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[toolchain]
|
||||||
|
channel = "nightly-2023-08-27"
|
||||||
|
components = [
|
||||||
|
"rustfmt",
|
||||||
|
"clippy",
|
||||||
|
]
|
||||||
|
targets = [
|
||||||
|
"x86_64-unknown-linux-gnu",
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user