Skip to content

Commit

Permalink
Merge branch 'main' of github.com:bobanetwork/aa-hc-example
Browse files Browse the repository at this point in the history
  • Loading branch information
wsdt committed Aug 18, 2024
2 parents 08ab68f + 218fe6e commit 2d9a80d
Showing 1 changed file with 43 additions and 14 deletions.
57 changes: 43 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,75 @@ version: 2.1

orbs:
node: circleci/[email protected]
go: circleci/go@1.7.1
go: circleci/go@1.11.0
python: circleci/[email protected]
rust: circleci/[email protected]
docker: circleci/[email protected]

jobs:
integration-tests:
docker:
- image: ubuntu:22.04
shell: /bin/bash
machine:
image: ubuntu-2204:current
resource_class: large
parallelism: 10
steps:
- checkout
- docker/install-docker
- run:
name: Install essential tools
command: |
apt-get update
apt-get install -y curl git sudo
- go/install
sudo apt-get update
sudo apt-get install -y curl git software-properties-common python3 python3-pip
- go/install:
version: 1.22.5
- run:
name: Verify Python installation
command: |
python3 --version
pip3 --version
- run:
name: Checkout submodules
command: git submodule update --init --recursive
- run:
name: Diagnostic - Check directory structure
command: |
pwd
ls -la
- run:
name: Diagnostic - Check boba directory
command: |
ls -la boba
cat boba/go.mod || echo "go.mod not found in boba directory"
- run:
name: Go mod download in boba directory
command: |
go version && cd boba && go mod tidy -e && go mod download
- node/install
- rust/install
- restore_cache:
name: Restore pnpm Package Cache
keys:
- pnpm-packages-{{ checksum "pnpm-lock.yaml" }}
- run:
name: Checkout submodules
command: git submodule update --init --recursive
- run:
name: Install Foundry
command: |
curl -L https://foundry.paradigm.xyz | bash
export PATH="$PATH:/root/.foundry/bin"
export PATH="$PATH:$HOME/.foundry/bin"
foundryup
- run:
name: Install pnpm
command: |
corepack enable
corepack prepare pnpm@latest-9 --activate
pnpm config set store-dir .pnpm-store
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo corepack enable
corepack prepare yarn@stable pnpm@latest npm@latest --activate
sudo corepack enable yarn pnpm npm
echo "Node version: $(node --version)"
echo "NPM version: $(npm --version)"
echo "Yarn version: $(yarn --version)"
echo "PNPM version: $(pnpm --version)"
pnpm config set store-dir .pnpm-store
- save_cache:
name: Save pnpm Package Cache
key: pnpm-packages-{{ checksum "pnpm-lock.yaml" }}
Expand Down

0 comments on commit 2d9a80d

Please sign in to comment.