Skip to content

Commit

Permalink
Merge branch 'main' into bf/st-catchup
Browse files Browse the repository at this point in the history
  • Loading branch information
bfish713 authored Mar 6, 2025
2 parents 42fe340 + d517c4b commit df66648
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/benchmark-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ jobs:
target/release/espresso-bridge
build-arm:
runs-on: buildjet-16vcpu-ubuntu-2204-arm
runs-on:
group: BigArmRunners
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ env:

jobs:
build:
runs-on: buildjet-8vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- uses: rui314/setup-mold@v1

Expand Down Expand Up @@ -86,7 +86,8 @@ jobs:
build-arm:
if: github.event_name != 'pull_request'
runs-on: buildjet-8vcpu-ubuntu-2204-arm
runs-on:
group: BigArmRunners
env:
CARGO_BUILD_JOBS: '6'
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cargo-features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:

jobs:
cargo-features:
runs-on: buildjet-8vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- uses: taiki-e/install-action@cargo-hack

Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/hotshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,20 @@ jobs:
shared-key: "hotshot-tests"
cache-on-failure: "true"
save-if: ${{ github.ref == 'refs/heads/main' && matrix.test_suites == 'test-ci-rest' }}
prefix-key: v0-hotshot

- uses: taiki-e/install-action@just

- uses: taiki-e/install-action@nextest

- name: Show memory
run: free -h

- name: Collect Workflow Telemetry
uses: catchpoint/workflow-telemetry-action@v2
with:
comment_on_pr: false

- name: Unit and integration tests for all crates in workspace
run: |
just hotshot::${{ matrix.test_suites }}
Expand All @@ -74,6 +83,7 @@ jobs:
shared-key: "hotshot-examples"
cache-on-failure: "true"
save-if: ${{ github.ref == 'refs/heads/main' }}
prefix-key: v0-hotshot

- uses: taiki-e/install-action@just

Expand Down
22 changes: 19 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:
jobs:
build-test-artifacts-postgres:
name: Build test artifacts (postgres)
runs-on: buildjet-8vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- uses: rui314/setup-mold@v1

Expand All @@ -42,6 +42,14 @@ jobs:
cache-all-crates: true
cache-provider: buildjet

- name: Show memory
run: free -h

- name: Collect Workflow Telemetry
uses: catchpoint/workflow-telemetry-action@v2
with:
comment_on_pr: false

- name: Build and archive tests
run: cargo nextest archive --locked --workspace --archive-file nextest-archive-postgres.tar.zst

Expand All @@ -53,7 +61,7 @@ jobs:

build-test-artifacts-sqlite:
name: Build test artifacts (sqlite)
runs-on: buildjet-8vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- uses: rui314/setup-mold@v1

Expand All @@ -69,6 +77,14 @@ jobs:
cache-all-crates: true
cache-provider: buildjet

- name: Show memory
run: free -h

- name: Collect Workflow Telemetry
uses: catchpoint/workflow-telemetry-action@v2
with:
comment_on_pr: false

- name: Build and archive tests
run: cargo nextest archive --locked --features "embedded-db testing" --workspace --archive-file nextest-archive-sqlite.tar.zst

Expand All @@ -80,7 +96,7 @@ jobs:

build-test-bins:
name: Build test binaries
runs-on: buildjet-8vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- uses: rui314/setup-mold@v1

Expand Down
18 changes: 12 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,18 @@ time = "0.3"
trait-set = "0.3.0"

[profile.dev]
# No optimizations
opt-level = 0
# Skip compiling the debug information.
debug = false
# Skip linking symbols.
strip = true
# Probably the least demanding setting in terms of compilation time and memory
# that still provide tracebacks with line numbers.
strip = "none"
debug = "line-tables-only"

[profile.dev-debug]
# This profile should allow connecting debuggers. Compiles more slowly and
# requires significantly more memory to compile.
inherits = "dev"
strip = "none"
debug = "full"

[profile.test]
opt-level = 1
[profile.test.package.tests]
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,3 +203,4 @@ risk.
**DISCLAIMER:** The Rust library crates provided in this repository are intended primarily for use by the binary targets
in this repository. We make no guarantees of public API stability. If you are building on these crates, reach out by
opening an issue to discuss the APIs you need.

0 comments on commit df66648

Please sign in to comment.