Skip to content

Commit

Permalink
debug fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
knst committed Jan 8, 2024
1 parent 5a33b27 commit 43f8223
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ builder-image:
script:
- ./ci/dash/build_src.sh
- ./ci/dash/test_unittests.sh # Run unit tests in build stage to avoid creating too many parallel jobs
- echo pwd=$PWD
- echo build=$BASE_BUILD_DIR
- echo root=$BASE_ROOT_DIR
cache:
# Let all branches share the same cache, which is ok because ccache is able to handle it
key:
Expand All @@ -132,16 +135,16 @@ builder-image:
name: binaries
when: always
paths:
- build-ci
- $BASE_BUILD_DIR
# Exclude some less important binaries to reduce the size of the artifacts
exclude:
- build-ci/dashcore-$BUILD_TARGET/src/bench/bench_dash
- build-ci/dashcore-$BUILD_TARGET/src/bench/bench_dash.exe
- build-ci/dashcore-$BUILD_TARGET/src/qt/test/test_dash-qt
- build-ci/dashcore-$BUILD_TARGET/src/qt/test/test_dash-qt.exe
- build-ci/dashcore-$BUILD_TARGET/src/test/test_dash
- build-ci/dashcore-$BUILD_TARGET/src/test/test_dash.exe
- build-ci/dashcore-$BUILD_TARGET/src/test/fuzz/*
- $BASE_BUILD_DIR/dashcore-$BUILD_TARGET/src/bench/bench_dash
- $BASE_BUILD_DIR/dashcore-$BUILD_TARGET/src/bench/bench_dash.exe
- $BASE_BUILD_DIR/dashcore-$BUILD_TARGET/src/qt/test/test_dash-qt
- $BASE_BUILD_DIR/dashcore-$BUILD_TARGET/src/qt/test/test_dash-qt.exe
- $BASE_BUILD_DIR/dashcore-$BUILD_TARGET/src/test/test_dash
- $BASE_BUILD_DIR/dashcore-$BUILD_TARGET/src/test/test_dash.exe
- $BASE_BUILD_DIR/dashcore-$BUILD_TARGET/src/test/fuzz/*
expire_in: 3 days

.test-template:
Expand Down
3 changes: 3 additions & 0 deletions ci/dash/build_src.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ BITCOIN_CONFIG_ALL="--enable-suppress-external-warnings --disable-dependency-tra

( test -n "$CONFIG_SHELL" && eval '"$CONFIG_SHELL" -c "./autogen.sh"' ) || ./autogen.sh

echo "pwd: $PWD"
echo "base build: $BASE_BUILD_DIR"
echo "base root: $BASE_ROOT_DIR"
rm -rf "${BASE_BUILD_DIR}"
mkdir -p "${BASE_BUILD_DIR}"
cd "${BASE_BUILD_DIR}"
Expand Down

0 comments on commit 43f8223

Please sign in to comment.