Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add incredible-squaring to CI #536

Closed
wants to merge 1 commit into from
Closed
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
56 changes: 56 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,62 @@ jobs:
- name: doc tests
run: cargo test --package ${{ matrix.package }} --doc

incredible-squaring:
timeout-minutes: 90
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v2
with:
path: gadget

- name: Download Tangle node
uses: robinraju/release-downloader@v1
with:
repository: tangle-network/tangle
latest: true
preRelease: true
fileName: tangle-testnet-manual-seal-linux-amd64
tarBall: false
zipBall: false
out-file-path: tangle

- name: Install Foundry
run: |
curl -L https://foundry.paradigm.xyz | bash
${FOUNDRY_DIR:-"$HOME/.foundry"}/bin/foundryup
env:
FOUNDRY_DIR: ${{ runner.temp }}/foundry
shell: bash

- name: Add Foundry to PATH
run: echo "${{ runner.temp }}/foundry/bin" >> $GITHUB_PATH

- name: Forge build
working-directory: gadget/blueprints/incredible-squaring
run: forge update && forge build

- name: install rust
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: stable

- uses: swatinem/rust-cache@v2
with:
cache-on-failure: "true"

- name: install protobuf and gmp
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler libprotobuf-dev libgmp-dev

- name: install cargo-nextest
run: cargo install cargo-nextest --locked

- name: tests
working-directory: gadget
run: TANGLE_NODE="$(pwd)/../tangle" cargo nextest run --nocapture --package incredible-squaring-blueprint test_blueprint --retries 0

eigenlayer-tests:
timeout-minutes: 90
runs-on: ubuntu-latest
Expand Down
Loading