Skip to content

Commit

Permalink
upgrade msgpack to ~>1.0, add dub.selections.json
Browse files Browse the repository at this point in the history
Fixes msgpack-d deprecations, allows minor bumps upstream

The dub.selections.json allows
  • Loading branch information
WebFreak001 authored and PetarKirov committed Jan 5, 2023
1 parent 4c426d7 commit 4946d49
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:

- name: Build
run: |
rdmd ./d-test-utils/test_with_package.d $LIBDPARSE_VERSION libdparse -- dub build --build=${{ matrix.build }} --config=client --arch=${{ matrix.arch }}
rdmd ./d-test-utils/test_with_package.d $LIBDPARSE_VERSION libdparse -- dub build --build=${{ matrix.build }} --config=server --arch=${{ matrix.arch }}
dub build --build=${{ matrix.build }} --config=client --arch=${{ matrix.arch }}
dub build --build=${{ matrix.build }} --config=server --arch=${{ matrix.arch }}
# Tests

Expand All @@ -65,6 +65,12 @@ jobs:
cd dsymbol
rdmd ../d-test-utils/test_with_package.d $LIBDPARSE_VERSION libdparse -- dub test
# test that both lowest supplied and highest available libdparse versions are compatible (for DUB users depending on DCD)
- name: Test dependency versions
run: |
rdmd ./d-test-utils/test_with_package.d $LIBDPARSE_VERSION libdparse -- dub build --build=${{ matrix.build }} --config=client --arch=${{ matrix.arch }}
rdmd ./d-test-utils/test_with_package.d $LIBDPARSE_VERSION libdparse -- dub build --build=${{ matrix.build }} --config=server --arch=${{ matrix.arch }}
- name: Linux Tests
if: contains(matrix.os, 'ubuntu')
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ stdout.txt
# Dub files
.dub
dub.selections.json
!/dub.selections.json
2 changes: 1 addition & 1 deletion common/dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ preBuildCommands "\"$DC\" -run \"$PACKAGE_DIR/dubhash.d\""
sourcePaths "src"
importPaths "src"

dependency "msgpack-d" version="1.0.1"
dependency "msgpack-d" version="~>1.0"
versions "built_with_dub"
10 changes: 10 additions & 0 deletions dub.selections.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"fileVersion": 1,
"versions": {
"dsymbol": "0.14.1",
"emsi_containers": "0.9.0",
"libdparse": "0.21.1",
"msgpack-d": "1.0.4",
"stdx-allocator": "2.77.5"
}
}

0 comments on commit 4946d49

Please sign in to comment.