Skip to content

Commit

Permalink
v0.3.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbinth authored Jun 12, 2024
2 parents 7279169 + 40ec598 commit 6184966
Show file tree
Hide file tree
Showing 23 changed files with 380 additions and 274 deletions.
9 changes: 1 addition & 8 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
[profile.default]
slow-timeout = { period = "5s", terminate-after = 2 }

[profile.prove]
# A test which also generates a proof takes around 1min to complete on a M2
slow-timeout = { period = "120s", terminate-after = 2 }

[profile.ci-default]
failure-output = "immediate-final"
fail-fast = false

[profile.ci-prove]
[profile.prove]
# A test which also generates a proof takes around 120sec to complete in the CI
slow-timeout = { period = "200s", terminate-after = 2 }
failure-output = "immediate-final"
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Runs build related jobs.

name: build

on:
push:
branches: [main, next]
pull_request:
types: [opened, reopened, synchronize]

jobs:
async:
name: Build using `async` feature
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
toolchain: [stable, nightly]
steps:
- uses: actions/checkout@main
- name: Build using `async` feature
run: |
rustup update --no-self-update ${{ matrix.toolchain }}
make build-async
no-std:
name: Build for no-std
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
toolchain: [stable, nightly]
steps:
- uses: actions/checkout@main
- name: Build for no-std
run: |
rustup update --no-self-update ${{ matrix.toolchain }}
rustup target add wasm32-unknown-unknown
make build-no-std
44 changes: 17 additions & 27 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@
name: lint

on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]
push:
branches: [main, next]
pull_request:
types: [opened, reopened, synchronize]

jobs:
version:
name: check rust version consistency
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@main
with:
profile: minimal
override: true
Expand All @@ -25,29 +24,20 @@ jobs:
name: rustfmt check nightly on ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install minimal Rust with rustfmt & cargo-make
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
components: rustfmt
override: true
- uses: davidB/rust-cargo-make@v1
- name: cargo make - format-check
run: cargo make format-check
- uses: actions/checkout@main
- name: Rustfmt
run: |
rustup update --no-self-update nightly
rustup +nightly component add rustfmt
make format-check
clippy:
name: clippy stable on ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install minimal Rust with clippy & cargo-make
uses: actions-rs/toolchain@v1
with:
profile: minimal
components: clippy
override: true
- uses: davidB/rust-cargo-make@v1
- name: cargo make - clippy
run: cargo make clippy
- uses: actions/checkout@main
- name: Install minimal Rust with clippy
run: |
rustup update --no-self-update nightly
rustup +nightly component add clippy
make clippy
30 changes: 0 additions & 30 deletions .github/workflows/no-std.yml

This file was deleted.

25 changes: 11 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Runs build related jobs.

name: test

on:
push:
branches:
- main
branches: [main, next]
pull_request:
types: [opened, reopened, synchronize]
types: [opened, reopened, synchronize]

jobs:
test:
Expand All @@ -16,16 +17,12 @@ jobs:
matrix:
toolchain: [stable, nightly]
os: [ubuntu]
args: ["default", "prove"]
args: [default, prove]
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{matrix.toolchain}}
override: true
- uses: davidB/rust-cargo-make@v1
- uses: taiki-e/install-action@nextest
- name: cargo make - test
run: cargo make ci-test-${{matrix.args}}
- uses: actions/checkout@main
- uses: taiki-e/install-action@nextest
- name: Perform tests
run: |
rustup update --no-self-update ${{matrix.toolchain}}
make test-${{matrix.args}}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 0.3.1 (2024-06-12)
* Replaced `cargo-make` with just `make` for running tasks (#696).
* Made `DataStore` conditionally async using `winter-maybe-async` (#725)
* Fixed `StorageMap`s implementation and included into apply_delta (#745)

## 0.3.0 (2024-05-14)

* Introduce the `miden-bench-tx` crate used for transactions benchmarking (#577).
Expand Down
Loading

0 comments on commit 6184966

Please sign in to comment.