solidity/.circleci
r0qs 1cb04e84d9
Upgrade homebrew packages
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2023-09-11 12:49:32 +02:00
..
build_win.ps1 CI: Optimize machine sizes for best speed/cost ratio 2021-12-03 12:32:40 +01:00
cln-asan.supp Suppress libcln from asan tests 2023-01-30 13:22:58 +01:00
compare_bytecode_reports.sh CI: Generate optimized and unoptimized bytecode reports in parallel 2023-06-26 10:53:29 +02:00
config.yml CI: Remove redundant ./ prefixes from script invocation and path arguments 2023-08-22 15:51:13 +02:00
osx_install_dependencies.sh Upgrade homebrew packages 2023-09-11 12:49:32 +02:00
parallel_bytecode_report.sh CI: Workaround for some test cases crashing the compiler via IR during bytecode comparison due to a regex-related bug 2023-07-14 15:28:11 +02:00
parallel_cli_tests.py Parallelize CLI tests 2023-06-20 14:01:18 +02:00
README.md Update CI ubuntu version to 2204 2023-01-12 10:37:29 +01:00
soltest_all.sh Change default EVM version to Shanghai. 2023-05-08 16:34:23 +02:00
soltest.ps1 Added option to allow soltest in CI print errors to stderr in addition to the XML report. 2022-05-27 18:32:21 -03:00
soltest.sh CI: Set CPUs for soltest.sh based on the number of available cores 2023-08-09 11:12:31 +02:00

CircleCI integration

Docker images

The docker images are build locally on the developer machine:

cd .circleci/docker/

docker build -t ethereum/solidity-buildpack-deps:ubuntu2204-<revision> -f Dockerfile.ubuntu2204 .
docker push ethereum/solidity-buildpack-deps:ubuntu2204-<revision>

The current revisions per docker image are stored in circle ci pipeline parameters called <image-desc>-docker-image-rev (e.g., ubuntu-2204-docker-image-rev). Please update the value assigned to the parameter(s) corresponding to the docker image(s) being updated at the time of the update. Please verify that the value assigned to the parameter matches the revision part of the docker image tag (<revision> in the docker build/push snippet shown above). Otherwise, the docker image used by circle ci and the one actually pushed to docker hub will differ.

Once the docker image has been built and pushed to Dockerhub, you can find it at:

https://hub.docker.com/r/ethereum/solidity-buildpack-deps:ubuntu2204-<revision>

where the image tag reflects the target OS and revision to build Solidity and run its tests on.

Testing docker images locally

cd solidity
# Mounts your local solidity directory in docker container for testing
docker run -v `pwd`:/src/solidity -ti ethereum/solidity-buildpack-deps:ubuntu2204-<revision> /bin/bash
cd /src/solidity
<commands_to_test_build_with_new_docker_image>