diff --git a/.circleci/config.yml b/.circleci/config.yml index 2326164..d3122bc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,46 +2,75 @@ version: 2.1 orbs: node: circleci/node@5.2.0 - go: circleci/go@1.7.1 + go: circleci/go@1.11.0 python: circleci/python@2.1.1 rust: circleci/rust@1.6.1 + docker: circleci/docker@2.2.0 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" }}