Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dusk-rusk: release 1.1.0-rc.1 #3467

Merged
merged 5 commits into from
Feb 5, 2025
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
17 changes: 6 additions & 11 deletions .github/workflows/rusk_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,14 @@ jobs:
include:
- os: ubuntu-24.04
target: linux-x64
target_folder: target
- os: macos-15
target: macos-arm64
target_folder: target/aarch64-apple-darwin
flags: --target=aarch64-apple-darwin
- os: arm-linux
target: linux-arm64
target_folder: target/aarch64-unknown-linux-gnu
flags: --target=aarch64-unknown-linux-gnu
fail-fast: false

Expand Down Expand Up @@ -89,29 +92,21 @@ jobs:
echo "SKIP_WASM=false" >> $GITHUB_ENV
fi

- name: Compile keys
shell: bash
run: make keys

- name: Compile WASM Contracts
if: ${{ env.SKIP_WASM != 'true' }}
shell: bash
run: make wasm

- name: Build Rusk binary
shell: bash
working-directory: ./rusk
run: cargo build --release ${{ env.NO_DEFAULT_FEATURES }} --features "${{ matrix.feature }}" ${{ matrix.flags }}

- name: Extract Version
run: |
export SEMVER=$(cargo pkgid --manifest-path ./rusk/Cargo.toml | sed -E 's/.*#([0-9]+\.[0-9]+\.[0-9]+).*/\1/')
export SEMVER=$(cargo pkgid --manifest-path ./rusk/Cargo.toml | sed -E 's/.*@([0-9]+\.[0-9]+\.[0-9]+).*/\1/')
echo "SEMVER=$SEMVER" >> $GITHUB_ENV

- name: Package Binaries
run: |
find . -name "rusk"
mkdir rusk-${{ env.SEMVER }}-${{ matrix.target }}-${{ matrix.feature }}
mv target/release/rusk rusk-${{ env.SEMVER }}-${{ matrix.target }}-${{ matrix.feature }}
mv ${{ matrix.target_folder }}/release/rusk rusk-${{ env.SEMVER }}-${{ matrix.target }}-${{ matrix.feature }}
tar -czvf rusk-${{ env.SEMVER }}-${{ matrix.target }}-${{ matrix.feature }}.tar.gz \
rusk-${{ env.SEMVER }}-${{ matrix.target }}-${{ matrix.feature }}

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rusk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dusk-rusk"
version = "1.0.3-alpha.1"
version = "1.1.0-rc.2"
edition = "2021"
autobins = false

Expand Down
Loading