-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:bobanetwork/aa-hc-example
- Loading branch information
Showing
1 changed file
with
43 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" }} | ||
|