Skip to content

Commit 4946d49

Browse files
WebFreak001PetarKirov
authored andcommitted
upgrade msgpack to ~>1.0, add dub.selections.json
Fixes msgpack-d deprecations, allows minor bumps upstream The dub.selections.json allows
1 parent 4c426d7 commit 4946d49

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ jobs:
4444

4545
- name: Build
4646
run: |
47-
rdmd ./d-test-utils/test_with_package.d $LIBDPARSE_VERSION libdparse -- dub build --build=${{ matrix.build }} --config=client --arch=${{ matrix.arch }}
48-
rdmd ./d-test-utils/test_with_package.d $LIBDPARSE_VERSION libdparse -- dub build --build=${{ matrix.build }} --config=server --arch=${{ matrix.arch }}
47+
dub build --build=${{ matrix.build }} --config=client --arch=${{ matrix.arch }}
48+
dub build --build=${{ matrix.build }} --config=server --arch=${{ matrix.arch }}
4949
5050
# Tests
5151

@@ -65,6 +65,12 @@ jobs:
6565
cd dsymbol
6666
rdmd ../d-test-utils/test_with_package.d $LIBDPARSE_VERSION libdparse -- dub test
6767
68+
# test that both lowest supplied and highest available libdparse versions are compatible (for DUB users depending on DCD)
69+
- name: Test dependency versions
70+
run: |
71+
rdmd ./d-test-utils/test_with_package.d $LIBDPARSE_VERSION libdparse -- dub build --build=${{ matrix.build }} --config=client --arch=${{ matrix.arch }}
72+
rdmd ./d-test-utils/test_with_package.d $LIBDPARSE_VERSION libdparse -- dub build --build=${{ matrix.build }} --config=server --arch=${{ matrix.arch }}
73+
6874
- name: Linux Tests
6975
if: contains(matrix.os, 'ubuntu')
7076
run: |

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ stdout.txt
2828
# Dub files
2929
.dub
3030
dub.selections.json
31+
!/dub.selections.json

common/dub.sdl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ preBuildCommands "\"$DC\" -run \"$PACKAGE_DIR/dubhash.d\""
55
sourcePaths "src"
66
importPaths "src"
77

8-
dependency "msgpack-d" version="1.0.1"
8+
dependency "msgpack-d" version="~>1.0"
99
versions "built_with_dub"

dub.selections.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"fileVersion": 1,
3+
"versions": {
4+
"dsymbol": "0.14.1",
5+
"emsi_containers": "0.9.0",
6+
"libdparse": "0.21.1",
7+
"msgpack-d": "1.0.4",
8+
"stdx-allocator": "2.77.5"
9+
}
10+
}

0 commit comments

Comments
 (0)