Skip to content

Commit

Permalink
update resource class to large
Browse files Browse the repository at this point in the history
  • Loading branch information
barrasso committed Feb 1, 2024
1 parent 1909e60 commit 644964a
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 54 deletions.
105 changes: 51 additions & 54 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# DO NOT EDIT MANUALLY! instead run `npm run build:ci`
# autogenerated by `.circleci/pack.js` from contents of `jobs` .yml files
version: 2.1
orbs:
orbs:
rust: circleci/[email protected]
commands:
cmd-wait-for-port:
Expand Down Expand Up @@ -41,22 +41,22 @@ jobs:
keys:
- foundry-bin-latest-${foundry_cache_version}
- rust/install: {}
- run:
name: "Install Foundry"
working_directory: ~/
environment:
SHELL: /bin/bash
command: |-
export PATH="$PATH:$HOME/.foundry/bin"
echo 'export PATH=$PATH:$HOME/.foundry/bin' >> $BASH_ENV
if command -v anvil; then
echo "Anvil already installed"
anvil --version
else
curl -L https://foundry.paradigm.xyz | bash
foundryup
fi
rm -rf *
- run:
name: "Install Foundry"
working_directory: ~/
environment:
SHELL: /bin/bash
command: |-
export PATH="$PATH:$HOME/.foundry/bin"
echo 'export PATH=$PATH:$HOME/.foundry/bin' >> $BASH_ENV
if command -v anvil; then
echo "Anvil already installed"
anvil --version
else
curl -L https://foundry.paradigm.xyz | bash
foundryup
fi
rm -rf *
- save_cache:
key: foundry-bin-latest-${foundry_cache_version}
paths:
Expand All @@ -74,7 +74,6 @@ jobs:
- build
- cannon
- publish/deployed
# The resource_class feature allows configuring CPU and RAM resources for each job. Different resource classes are available for different executors. https://circleci.com/docs/2.0/configuration-reference/#resourceclass
resource_class: large
job-fork-tests-ovm:
working_directory: ~/repo
Expand Down Expand Up @@ -143,22 +142,22 @@ jobs:
keys:
- foundry-bin-latest-${foundry_cache_version}
- rust/install: {}
- run:
name: "Install Foundry"
working_directory: ~/
environment:
SHELL: /bin/bash
command: |-
export PATH="$PATH:$HOME/.foundry/bin"
echo 'export PATH=$PATH:$HOME/.foundry/bin' >> $BASH_ENV
if command -v anvil; then
echo "Anvil already installed"
anvil --version
else
curl -L https://foundry.paradigm.xyz | bash
foundryup
fi
rm -rf *
- run:
name: "Install Foundry"
working_directory: ~/
environment:
SHELL: /bin/bash
command: |-
export PATH="$PATH:$HOME/.foundry/bin"
echo 'export PATH=$PATH:$HOME/.foundry/bin' >> $BASH_ENV
if command -v anvil; then
echo "Anvil already installed"
anvil --version
else
curl -L https://foundry.paradigm.xyz | bash
foundryup
fi
rm -rf *
- save_cache:
key: foundry-bin-latest-${foundry_cache_version}
paths:
Expand Down Expand Up @@ -244,17 +243,15 @@ jobs:
- attach_workspace:
at: .
- restore_cache:
key: dependencies-{{ checksum "/tmp/node_version" }}-v{{ checksum
"/tmp/npm_version" }}-{{ checksum "package-lock.json" }}
key: dependencies-{{ checksum "/tmp/node_version" }}-v{{ checksum "/tmp/npm_version" }}-{{ checksum "package-lock.json" }}
- run:
name: Set custom npm cache directory
command: npm config set cache .npm-cache --global
- run:
name: Install dependencies
command: npm ci --prefer-offline --no-audit
- save_cache:
key: dependencies-{{ checksum "/tmp/node_version" }}-v{{ checksum
"/tmp/npm_version" }}-{{ checksum "package-lock.json" }}
key: dependencies-{{ checksum "/tmp/node_version" }}-v{{ checksum "/tmp/npm_version" }}-{{ checksum "package-lock.json" }}
paths:
- .npm-cache
- node_modules
Expand Down Expand Up @@ -317,22 +314,22 @@ jobs:
keys:
- foundry-bin-latest-${foundry_cache_version}
- rust/install: {}
- run:
name: "Install Foundry"
working_directory: ~/
environment:
SHELL: /bin/bash
command: |-
export PATH="$PATH:$HOME/.foundry/bin"
echo 'export PATH=$PATH:$HOME/.foundry/bin' >> $BASH_ENV
if command -v anvil; then
echo "Anvil already installed"
anvil --version
else
curl -L https://foundry.paradigm.xyz | bash
foundryup
fi
rm -rf *
- run:
name: "Install Foundry"
working_directory: ~/
environment:
SHELL: /bin/bash
command: |-
export PATH="$PATH:$HOME/.foundry/bin"
echo 'export PATH=$PATH:$HOME/.foundry/bin' >> $BASH_ENV
if command -v anvil; then
echo "Anvil already installed"
anvil --version
else
curl -L https://foundry.paradigm.xyz | bash
foundryup
fi
rm -rf *
- save_cache:
key: foundry-bin-latest-${foundry_cache_version}
paths:
Expand Down
2 changes: 2 additions & 0 deletions .circleci/src/jobs/job-cannon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ steps:
- build
- cannon
- publish/deployed
# The resource_class feature allows configuring CPU and RAM resources for each job. Different resource classes are available for different executors. https://circleci.com/docs/2.0/configuration-reference/#resourceclass
resource_class: large

0 comments on commit 644964a

Please sign in to comment.