-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into mocello/2288_moonlight_wallet
- Loading branch information
Showing
58 changed files
with
1,669 additions
and
694 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: Rusk binary copy | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
# Job to run change detection | ||
changes: | ||
runs-on: core | ||
permissions: | ||
pull-requests: read | ||
outputs: | ||
run-ci: ${{ steps.filter.outputs.run-ci }} | ||
steps: | ||
- uses: dorny/paths-filter@v3 | ||
id: filter | ||
with: | ||
filters: | | ||
run-ci: | ||
- 'rusk/**' | ||
- 'node/**' | ||
- '.github/workflows/binary_copy.yml' | ||
build: | ||
needs: changes | ||
if: needs.changes.outputs.run-ci == 'true' | ||
name: Make rusk | ||
runs-on: core | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Rust toolchain | ||
uses: dsherret/rust-toolchain-file@v1 | ||
|
||
- name: Setting up Node 20.x | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.x | ||
scope: "@dusk-network" | ||
|
||
- name: Build node | ||
run: make all | ||
copy_to_host: | ||
needs: build | ||
runs-on: core | ||
continue-on-error: true | ||
steps: | ||
- name: "Check and Copy Rusk Artifact to Host" | ||
run: | | ||
# Ensure the target directory exists | ||
mkdir -p /var/opt/rusk-artifacts | ||
# Check if the rusk artifact exists before copying | ||
if [ -f ./target/release/rusk ]; then | ||
echo "Rusk artifact found. Copying to host." | ||
cp ./target/release/rusk /var/opt/rusk-artifacts | ||
else | ||
echo "Rusk artifact not found. Skipping copy." | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.