mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #12926 from ethereum/disable-macos-dependency-cache-in-ci
Disable dependency caching on macOS in CI
This commit is contained in:
commit
9e92c7a466
@ -246,11 +246,11 @@ defaults:
|
|||||||
|
|
||||||
- steps_install_dependencies_osx: &steps_install_dependencies_osx
|
- steps_install_dependencies_osx: &steps_install_dependencies_osx
|
||||||
steps:
|
steps:
|
||||||
- restore_cache:
|
# FIXME: We used to cache dependencies on macOS but now it takes longer than just installing
|
||||||
keys:
|
# them each time. See https://github.com/ethereum/solidity/issues/12925.
|
||||||
- dependencies-osx-{{ arch }}-{{ checksum ".circleci/osx_install_dependencies.sh" }}
|
- run:
|
||||||
- attach_workspace:
|
name: Install build dependencies
|
||||||
at: .
|
command: ./.circleci/osx_install_dependencies.sh
|
||||||
|
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
# Base Image Templates
|
# Base Image Templates
|
||||||
@ -900,23 +900,9 @@ jobs:
|
|||||||
MAKEFLAGS: -j10
|
MAKEFLAGS: -j10
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- when:
|
||||||
keys:
|
condition: true
|
||||||
- dependencies-osx-{{ arch }}-{{ checksum ".circleci/osx_install_dependencies.sh" }}
|
<<: *steps_install_dependencies_osx
|
||||||
# DO NOT EDIT between here and save_cache, but rather edit ./circleci/osx_install_dependencies.sh
|
|
||||||
# WARNING! If you do edit anything here instead, remember to invalidate the cache manually.
|
|
||||||
- run:
|
|
||||||
name: Install build dependencies
|
|
||||||
command: ./.circleci/osx_install_dependencies.sh
|
|
||||||
- save_cache:
|
|
||||||
key: dependencies-osx-{{ arch }}-{{ checksum ".circleci/osx_install_dependencies.sh" }}
|
|
||||||
paths:
|
|
||||||
- /usr/local/bin
|
|
||||||
- /usr/local/sbin
|
|
||||||
- /usr/local/lib
|
|
||||||
- /usr/local/include
|
|
||||||
- /usr/local/Cellar
|
|
||||||
- /usr/local/Homebrew
|
|
||||||
- run: *run_build
|
- run: *run_build
|
||||||
- store_artifacts: *artifacts_solc
|
- store_artifacts: *artifacts_solc
|
||||||
- store_artifacts: *artifact_solidity_upgrade
|
- store_artifacts: *artifact_solidity_upgrade
|
||||||
@ -940,6 +926,8 @@ jobs:
|
|||||||
- when:
|
- when:
|
||||||
condition: true
|
condition: true
|
||||||
<<: *steps_install_dependencies_osx
|
<<: *steps_install_dependencies_osx
|
||||||
|
- attach_workspace:
|
||||||
|
at: .
|
||||||
- run: *run_soltest
|
- run: *run_soltest
|
||||||
- store_test_results: *store_test_results
|
- store_test_results: *store_test_results
|
||||||
- store_artifacts: *artifacts_test_results
|
- store_artifacts: *artifacts_test_results
|
||||||
@ -952,6 +940,8 @@ jobs:
|
|||||||
- when:
|
- when:
|
||||||
condition: true
|
condition: true
|
||||||
<<: *steps_install_dependencies_osx
|
<<: *steps_install_dependencies_osx
|
||||||
|
- attach_workspace:
|
||||||
|
at: .
|
||||||
- run: *run_cmdline_tests
|
- run: *run_cmdline_tests
|
||||||
- store_artifacts: *artifacts_test_results
|
- store_artifacts: *artifacts_test_results
|
||||||
- gitter_notify_failure_unless_pr
|
- gitter_notify_failure_unless_pr
|
||||||
|
Loading…
Reference in New Issue
Block a user