Skip to content

Commit

Permalink
Merge pull request #3467 from dusk-network/release-rusk-1.1.0-rc
Browse files Browse the repository at this point in the history
  • Loading branch information
herr-seppia authored Feb 5, 2025
2 parents 8cf2703 + 727c897 commit 6223bed
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
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

0 comments on commit 6223bed

Please sign in to comment.