ad81c6d27e
* Move all workflows on ubuntu-20 to ubuntu-22 * Add missing -y for installing rsync in ci-docs * Install rsync with --yes * Switch two jobs to github hosted free tier runners
59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
name: ci-binary-config-checker
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
release:
|
|
types: [created]
|
|
push:
|
|
paths:
|
|
- 'clients/**'
|
|
- 'common/**'
|
|
- 'contracts/**'
|
|
- 'integrations/**'
|
|
- 'mixnode/**'
|
|
- 'sdk/rust/nym-sdk/**'
|
|
- 'service-providers/**'
|
|
- '.github/workflows/ci-binary-config-checker.yml'
|
|
pull_request:
|
|
paths:
|
|
- 'clients/**'
|
|
- 'common/**'
|
|
- 'gateway/**'
|
|
- 'integrations/**'
|
|
- 'mixnode/**'
|
|
- 'sdk/rust/nym-sdk/**'
|
|
- 'service-providers/**'
|
|
- '.github/workflows/ci-binary-config-checker.yml'
|
|
|
|
env:
|
|
NETWORK: mainnet
|
|
|
|
jobs:
|
|
publish-nym:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
platform: [arc-ubuntu-22.04]
|
|
|
|
runs-on: ${{ matrix.platform }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install Dependencies (Linux)
|
|
run: sudo apt-get update && sudo apt-get -y install jq vim 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
|
|
|
|
- name: Branch name
|
|
run: echo running on branch ${GITHUB_REF##*/}
|
|
|
|
- name: Run tests against binaries
|
|
run: ./build_and_run.sh ${{ github.head_ref || github.ref_name }}
|
|
working-directory: tests/
|
|
|
|
|