Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Integration Tests to Buildkite Pipeline #499

merged 15 commits into from Jul 9, 2019


Copy link

commented Apr 16, 2019

Change Description

This pull request is a culmination of three related changes.

Integration Tests

When CDT is built in the presence of EOSIO, which itself has been built and installed from source, the CDT build generates additional integration tests. I have added steps to the CDT Buildkite pipeline to build in the presence of EOSIO and run these integration tests.

These changes rely upon the dependencies file in the root of CDT, and upon the tests registered with ctest being labeled. Thus, I have added a dependencies file exactly like the one in eosio.contracts, and added test labels.

Pipeline Configuration File

I have added the universal pipeline configuration file, pipeline.jsonc, described in pull request 512 and auto-buildkite-pipelines pull request 99. This replaces the dependencies file described above.

sccache Support

I have added support for sccache to accelerate CDT build times in Buildkite. I also added support for sccache to EOSIO LLVM in pull request 23, but Larry has asked me to hold off on updating the submodule as a part of this pull request because of work John is doing. We will merge this pull request as-is, and the submodule will get updated later.


Base Case (original pipeline):

New Pipeline:

You can see in build 252 that CDT integration tests run correctly but are failing. They are currently disabled by default in the pipeline, but are supported and can be run using:
New Build > Options > Environment Variables > SKIP_INTEGRATION_TESTS='false'

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions
larryk85 and others added 2 commits Apr 16, 2019
@kj4ezj kj4ezj referenced this pull request Apr 16, 2019
0 of 2 tasks complete

@kj4ezj kj4ezj changed the title Update TestsExternalProject.txt Added Integration Tests to Buildkite Pipeline Apr 18, 2019

heifner approved these changes Jul 9, 2019

@larryk85 larryk85 merged commit 3f00266 into release/1.6.x Jul 9, 2019

1 check passed

buildkite/eosio-dot-cdt Build #420 passed (45 minutes, 7 seconds)

@larryk85 larryk85 deleted the larryk85-patch-1 branch Jul 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.