-
Notifications
You must be signed in to change notification settings - Fork 602
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
53 additions
and
54 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 |
---|---|---|
@@ -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: | ||
|
@@ -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: | ||
|
@@ -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 | ||
|
@@ -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: | ||
|
@@ -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 | ||
|
@@ -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: | ||
|
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