Skip to content

Commit

Permalink
temp: workflow for building nym-api from v3 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jstuczyn committed Sep 5, 2024
1 parent d192e09 commit 49f4412
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/temp-build-nym-api-new-directory.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Build Nym-Api (feature/directory-v3-purge-base branch)

on:
workflow_dispatch:


jobs:
publish-nym:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-22.04-16-core]
runs-on: ${{ matrix.platform }}

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: feature/directory-v3-purge-base

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

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

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

0 comments on commit 49f4412

Please sign in to comment.