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
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,14 @@ jobs:
}
cargo ci smoketests -- --test-threads=1

- name: Upload Cargo timing reports
if: always()
uses: actions/upload-artifact@v4
with:
name: cargo-timings-smoketests-${{ matrix.name }}
path: ${{ github.workspace }}/target/cargo-timings/
retention-days: 30

# this is a no-op version of the above check with a trivially-passing body.
# we can't just let the check be entirely skipped because each matrix target is a required check,
# and skipping this check means that the matrix isn't "populated" so the required checks wouldn't be met.
Expand Down Expand Up @@ -504,6 +512,14 @@ jobs:
- name: Run ci lint
run: cargo ci lint

- name: Upload public lint Cargo timing reports
if: always()
uses: actions/upload-artifact@v4
with:
name: cargo-timings-public-lints
path: ${{ github.workspace }}/target/cargo-timings/
retention-days: 30

wasm_bindings:
needs: [merge_queue_noop]
if: ${{ needs.merge_queue_noop.outputs.skip != 'true' }}
Expand Down
2 changes: 2 additions & 0 deletions tools/ci/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@ fn main() -> Result<()> {
cmd!(
"cargo",
"clippy",
"--timings",
"--all",
"--tests",
"--benches",
Expand All @@ -623,6 +624,7 @@ fn main() -> Result<()> {
cmd!(
"cargo",
"clippy",
"--timings",
"--no-default-features",
"--features=browser",
"-pspacetimedb-sdk",
Expand Down
2 changes: 2 additions & 0 deletions tools/ci/src/smoketest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ fn build_binaries() -> Result<()> {
let mut cmd = Command::new("cargo");
cmd.args([
"build",
"--timings",
"--release",
"-p",
"spacetimedb-cli",
Expand Down Expand Up @@ -120,6 +121,7 @@ fn build_precompiled_modules() -> Result<()> {
let status = Command::new("cargo")
.args([
"build",
"--timings",
"--workspace",
"--release",
"--target",
Expand Down
Loading