From 0ca261c8fb40b74b24dd1f1c18c7b43144317112 Mon Sep 17 00:00:00 2001 From: pcw109550 Date: Mon, 1 Apr 2024 11:45:38 -0600 Subject: [PATCH] test --- .circleci/config.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3147e5ff..66eb20a3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,16 +22,20 @@ jobs: - run: name: "Check L1 geth version" command: ./ops/scripts/geth-version-checker.sh || (echo "geth version is wrong, update ci-builder"; false) + working_directory: rvsol/lib/optimism - run: name: git submodules command: make submodules + working_directory: rvsol/lib/optimism - restore_cache: name: Restore PNPM Package Cache keys: - pnpm-packages-v2-{{ checksum "pnpm-lock.yaml" }} + working_directory: rvsol/lib/optimism - restore_cache: name: Restore Go modules cache key: gomod-{{ checksum "go.sum" }} + working_directory: rvsol/lib/optimism # Fetch node_modules into the pnpm store # This will cache node_modules based on pnpm-lock so other steps can instantly install them with `pnpm install --prefer-offline` # --prefer-offline installs node_modules instantly by just reading from cache if it exists rather than fetching from network @@ -41,39 +45,49 @@ jobs: - run: name: Fetch dependencies command: pnpm fetch --frozen-lockfile --prefer-offline + working_directory: rvsol/lib/optimism - save_cache: name: Save PNPM Package Cache key: pnpm-packages-v2-{{ checksum "pnpm-lock.yaml" }} + working_directory: rvsol/lib/optimism paths: - "node_modules" - run: name: Install dependencies command: pnpm install:ci:offline + working_directory: rvsol/lib/optimism - run: name: print forge version command: forge --version + working_directory: rvsol/lib/optimism - run: name: Build monorepo environment: FOUNDRY_PROFILE: ci command: pnpm build + working_directory: rvsol/lib/optimism - run: name: Generate FPAC allocs command: DEVNET_FPAC="true" make devnet-allocs + working_directory: rvsol/lib/optimism - run: name: Copy FPAC allocs to .devnet-fpac command: cp -r .devnet/ .devnet-fault-proofs/ + working_directory: rvsol/lib/optimism - run: name: Generate Plasma allocs command: DEVNET_PLASMA="true" make devnet-allocs + working_directory: rvsol/lib/optimism - run: name: Copy Plasma allocs to .devnet-plasma command: cp -r .devnet/ .devnet-plasma/ + working_directory: rvsol/lib/optimism - run: name: Generate non-FPAC allocs command: make devnet-allocs + working_directory: rvsol/lib/optimism - persist_to_workspace: - root: "." + root: rvsol/lib/optimism paths: - "packages/**/dist" - "packages/contracts-bedrock/cache"