Skip to content

Commit

Permalink
Merge branch 'serial/incredible-squaring-ci' into drew/download-binary
Browse files Browse the repository at this point in the history
  • Loading branch information
drewstone committed Dec 10, 2024
2 parents 2cc295e + 5505e36 commit 03c9f3e
Showing 1 changed file with 56 additions and 0 deletions.
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

0 comments on commit 03c9f3e

Please sign in to comment.