Skip to content

Commit

Permalink
chore: add incredible-squaring to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Serial-ATA committed Dec 9, 2024
1 parent 7b76af5 commit 99c8777
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,64 @@ 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
env:
TANGLE_NODE: "$(pwd)/../tangle"
run: cargo nextest run --nocapture --package incredible-squaring-blueprint test_blueprint --retries 0

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

0 comments on commit 99c8777

Please sign in to comment.