diff --git a/.github/workflows/ci-binary-checker.yml b/.github/workflows/ci-binary-checker.yml new file mode 100644 index 0000000000..6fcf976192 --- /dev/null +++ b/.github/workflows/ci-binary-checker.yml @@ -0,0 +1,54 @@ +name: Run config checks on all binaries + +on: + workflow_dispatch: + push: + paths: + - 'clients/**' + - 'common/**' + - 'contracts/**' + - 'integrations/**' + - 'mixnode/**' + - 'sdk/rust/nym-sdk/**' + - 'service-providers/**' + pull_request: + paths: + - 'clients/**' + - 'common/**' + - 'gateway/**' + - 'integrations/**' + - 'mixnode/**' + - 'sdk/rust/nym-sdk/**' + - 'service-providers/**' + +env: + NETWORK: mainnet + +jobs: + publish-nym: + strategy: + fail-fast: false + matrix: + platform: [ubuntu-20.04] + + runs-on: ${{ matrix.platform }} + steps: + - uses: actions/checkout@v3 + + - name: Install Dependencies (Linux) + run: sudo apt-get update && sudo apt-get -y install 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_REF##*/} "v1.1.11" + working-directory: tests/ + +