Skip to content
Draft
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
36 changes: 17 additions & 19 deletions .github/workflows/build-nym-validator-rewarder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,37 +11,35 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-22.04-16-core]
runs-on: ${{ matrix.platform }}

include:
- os: arc-ubuntu-22.04
target: x86_64-unknown-linux-gnu
runs-on: ${{ matrix.os }}
env:
CARGO_TERM_COLOR: always
RUSTUP_PERMIT_COPY_RENAME: 1

steps:
- uses: actions/checkout@v3

- name: Install Dependencies (Linux)
run: sudo apt-get update && sudo apt-get -y install ripgrep libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libudev-dev squashfs-tools
continue-on-error: true

- name: Check out repository code
uses: actions/checkout@v4
with:
repository: nymtech/nym
ref: develop
ref: tmp/precommit-store-fix

- name: Install Dependencies (Linux)
run: sudo apt-get update && sudo apt-get -y install ripgrep libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libudev-dev squashfs-tools
continue-on-error: true

- name: Install Rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
uses: dtolnay/rust-toolchain@stable

- name: Build all binaries
uses: actions-rs/cargo@v1
with:
command: build
args: --bin nym-validator-rewarder --release
run: cargo build --bin nym-validator-rewarder --release

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: my-artifact
name: nym-validator-rewarder-artifact
path: |
target/release/nym-validator-rewarder
retention-days: 30
retention-days: 30