Skip to content
Merged
Show file tree
Hide file tree
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
116 changes: 58 additions & 58 deletions .github/workflows/cross-chain-e2e.yml
Original file line number Diff line number Diff line change
@@ -1,71 +1,71 @@
# name: Cross-Chain E2E
name: Cross-Chain E2E

# on:
# push:
# branches: [main]
# paths:
# - "contracts/**"
# - "proof_circuits/**"
# - "scripts/**"
# - ".github/workflows/cross-chain-e2e.yml"
# pull_request:
# paths:
# - "contracts/**"
# - "proof_circuits/**"
# - "scripts/**"
# - ".github/workflows/cross-chain-e2e.yml"
# workflow_dispatch:
on:
push:
branches: [main]
paths:
- "contracts/**"
- "proof_circuits/**"
- "scripts/**"
- ".github/workflows/cross-chain-e2e.yml"
pull_request:
paths:
- "contracts/**"
- "proof_circuits/**"
- "scripts/**"
- ".github/workflows/cross-chain-e2e.yml"
workflow_dispatch:

# env:
# CARGO_TERM_COLOR: always
env:
CARGO_TERM_COLOR: always

# jobs:
# cross-chain-e2e:
# name: Cross-Chain E2E Test
# runs-on: ubuntu-latest
# timeout-minutes: 30
jobs:
cross-chain-e2e:
name: Cross-Chain E2E Test
runs-on: ubuntu-latest
timeout-minutes: 30

# steps:
# - uses: actions/checkout@v4
# with:
# submodules: recursive
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

# - uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@stable

# - name: Install wasm32v1-none target
# run: rustup target add wasm32v1-none
- name: Install wasm32v1-none target
run: rustup target add wasm32v1-none

# - name: Install Foundry
# uses: foundry-rs/foundry-toolchain@v1
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

# - name: Install Stellar CLI
# run: |
# curl -Ls https://github.com/stellar/stellar-cli/releases/download/v23.3.0/stellar-cli-23.3.0-x86_64-unknown-linux-gnu.tar.gz -o /tmp/stellar-cli.tar.gz
# mkdir -p "$HOME/.local/bin"
# tar -xzf /tmp/stellar-cli.tar.gz -C "$HOME/.local/bin" stellar
# chmod +x "$HOME/.local/bin/stellar"
# echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- name: Install Stellar CLI
run: |
curl -Ls https://github.com/stellar/stellar-cli/releases/download/v23.3.0/stellar-cli-23.3.0-x86_64-unknown-linux-gnu.tar.gz -o /tmp/stellar-cli.tar.gz
mkdir -p "$HOME/.local/bin"
tar -xzf /tmp/stellar-cli.tar.gz -C "$HOME/.local/bin" stellar
chmod +x "$HOME/.local/bin/stellar"
echo "$HOME/.local/bin" >> "$GITHUB_PATH"

# - name: Install pnpm
# uses: pnpm/action-setup@v4
- name: Install pnpm
uses: pnpm/action-setup@v4

# - name: Install Node.js
# uses: actions/setup-node@v4
# with:
# node-version: "18"
# cache: "pnpm"
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
cache: "pnpm"

# - name: Install Node dependencies
# run: pnpm install --frozen-lockfile
- name: Install Node dependencies
run: pnpm install --frozen-lockfile

# - name: Cache cargo directories
# uses: actions/cache@v4
# with:
# path: |
# ~/.cargo/registry
# ~/.cargo/git
# contracts/stellar/target
# key: ${{ runner.os }}-cargo-e2e-${{ hashFiles('contracts/stellar/Cargo.lock') }}
- name: Cache cargo directories
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
contracts/stellar/target
key: ${{ runner.os }}-cargo-e2e-${{ hashFiles('contracts/stellar/Cargo.lock') }}

# - name: Run cross-chain E2E test
# run: bash scripts/run_cross_chain_e2e.sh
- name: Run cross-chain E2E test
run: bash scripts/run_cross_chain_e2e.sh
8 changes: 8 additions & 0 deletions contracts/stellar/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading