diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 97a67cce..0ee34acf 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -52,20 +52,13 @@ jobs: - run: just toolchain rust-src - run: just ci-install-deps + - run: just package - if: runner.os == 'Windows' run: Get-ChildItem packages/ - if: runner.os != 'Windows' run: ls -shal packages/ - - name: Run unit tests in release build - if: "matrix.r" - run: | - just avoid-benchmark-deps - just unit-tests - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Ensure release binary is runnable if: "matrix.r" run: just e2e-tests diff --git a/justfile b/justfile index a0424679..1c77d2e1 100644 --- a/justfile +++ b/justfile @@ -232,12 +232,6 @@ avoid-dev-deps: mv "$crate/Cargo.toml.tmp" "$crate/Cargo.toml" \ ; done -# leon dev-dependencies pulls in crates for benchmark but not used in test. -# This is a workaround for the lack of `benchmark-dependencies`. -avoid-benchmark-deps: - sed 's/\[dev-dependencies\]/[workaround-avoid-dev-deps]/g' ./crates/leon/Cargo.toml >./crates/leon/Cargo.toml.tmp - mv ./crates/leon/Cargo.toml.tmp ./crates/leon/Cargo.toml - package-dir: rm -rf packages/prep mkdir -p packages/prep