use d-test-utils & bump libdparse to 0.15.x

Because this release fixes the private protection issue through new
dsymbol (since 0.11.0) we also need to bump libdparse to at least 0.15.0
so no older libdparse versions are supported.
This commit is contained in:
Jan Jurzitza 2020-07-22 07:43:18 +02:00
parent dc14f03614
commit 15f71142ec
7 changed files with 22 additions and 7 deletions

3
.gitmodules vendored
View File

@ -14,3 +14,6 @@
[submodule "stdx-allocator"] [submodule "stdx-allocator"]
path = stdx-allocator path = stdx-allocator
url = https://github.com/dlang-community/stdx-allocator url = https://github.com/dlang-community/stdx-allocator
[submodule "d-test-utils"]
path = d-test-utils
url = https://github.com/dlang-community/d-test-utils.git

View File

@ -3,8 +3,16 @@
set -e set -e
if [[ $BUILD == dub ]]; then if [[ $BUILD == dub ]]; then
dub build --build=release --config=client if [[ -n $LIBDPARSE_VERSION ]]; then
dub build --build=release --config=server rdmd ./d-test-utils/test_with_package.d $LIBDPARSE_VERSION libdparse -- dub build --build=release --config=client
rdmd ./d-test-utils/test_with_package.d $LIBDPARSE_VERSION libdparse -- dub build --build=release --config=server
elif [[ -n $DSYMBOL_VERSION ]]; then
rdmd ./d-test-utils/test_with_package.d $DSYMBOL_VERSION dsymbol -- dub build --build=release --config=client
rdmd ./d-test-utils/test_with_package.d $DSYMBOL_VERSION dsymbol -- dub build --build=release --config=server
else
echo 'Cannot run test without LIBDPARSE_VERSION nor DSYMBOL_VERSION environment variable'
exit 1
fi
elif [[ $DC == ldc2 ]]; then elif [[ $DC == ldc2 ]]; then
git submodule update --init --recursive git submodule update --init --recursive
make ldc -j2 make ldc -j2

View File

@ -13,7 +13,10 @@ os:
env: env:
- BUILD= - BUILD=
- BUILD=dub - BUILD=dub LIBDPARSE_VERSION=min
- BUILD=dub LIBDPARSE_VERSION=max
- BUILD=dub DSYMBOL_VERSION=min
- BUILD=dub DSYMBOL_VERSION=max
branches: branches:
only: only:

1
d-test-utils Submodule

@ -0,0 +1 @@
Subproject commit 206a2e6abd97b4462f3a320e4f2d23986fad3cff

@ -1 +1 @@
Subproject commit f4a481cdc23b58ce544c2e91a39d5c0d406b67ac Subproject commit 71168a8449958e1807a8ba22c8a4df15456bae83

View File

@ -7,8 +7,8 @@
], ],
"license": "GPL-3.0", "license": "GPL-3.0",
"dependencies": { "dependencies": {
"dsymbol": "~>0.9.0", "dsymbol": ">=0.11.0 <0.12.0",
"libdparse": "~>0.13.0", "libdparse": ">=0.15.0 <0.16.0",
":common": "*", ":common": "*",
"stdx-allocator": "~>2.77.5", "stdx-allocator": "~>2.77.5",
"emsi_containers": "~>0.8.0-alpha.15" "emsi_containers": "~>0.8.0-alpha.15"

@ -1 +1 @@
Subproject commit 5270739bcd1962418784c7760773e24d28b6009b Subproject commit f9a82848fe98a84f38a66df950514c3556e7fb2d