diff --git a/Dockerfile b/Dockerfile index 6dbc5064..544e6934 100644 --- a/Dockerfile +++ b/Dockerfile @@ -52,6 +52,11 @@ ARG CORE_REF ARG CORE_OPTIONS RUN echo "$CORE_OPTIONS" | jq -r '.configure_flags // ""' > /tmp/arg_configure_flags +# Install Tracy dependencies if Tracy is enabled +RUN if grep -q "enable-tracy" /tmp/arg_configure_flags; then \ + apt-get update && apt-get -y install libcapstone-dev libfreetype6-dev libglfw3-dev libgtk2.0-dev; \ + fi + WORKDIR /wd RUN git clone https://github.com/${CORE_REPO} /wd RUN git fetch origin ${CORE_REF} diff --git a/images.json b/images.json index 958f2658..96330f2f 100644 --- a/images.json +++ b/images.json @@ -237,6 +237,62 @@ "additional-tests": [] } }, + { + "tag": "nightly-tracy", + "events": [ + "push", + "schedule", + "pull_request" + ], + "config": { + "protocol_version_default": 24 + }, + "deps": [ + { + "name": "xdr", + "repo": "stellar/rs-stellar-xdr", + "ref": "main" + }, + { + "name": "core", + "repo": "stellar/stellar-core", + "ref": "master", + "options": { + "configure_flags": "--enable-tracy --enable-tracy-capture --enable-tracy-csvexport" + } + }, + { + "name": "rpc", + "repo": "stellar/stellar-rpc", + "ref": "main" + }, + { + "name": "horizon", + "repo": "stellar/stellar-horizon", + "ref": "main", + "options": { + "pkg": "github.com/stellar/stellar-horizon" + } + }, + { + "name": "friendbot", + "repo": "stellar/friendbot", + "ref": "main", + "options": { + "pkg": "github.com/stellar/friendbot" + } + }, + { + "name": "lab", + "repo": "stellar/laboratory", + "ref": "main" + } + ], + "tests": { + "continue-on-error": true, + "additional-tests": [] + } + }, { "tag": "nightly-next", "events": [