Skip to content

Commit

Permalink
vary threads
Browse files Browse the repository at this point in the history
  • Loading branch information
msbarry committed Jan 15, 2024
1 parent 995ec89 commit f822508
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/test-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ version="${1:-$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)

echo "Test java build"
echo "::group::OpenMapTiles monaco (java)"
java -jar target/*with-deps.jar --download --area=monaco --mbtiles=data/java.mbtiles
# use different numbers of threads to stress-test determinism check
java -jar target/*with-deps.jar --download --area=monaco --output=data/java.mbtiles --threads=4
./scripts/check-monaco.sh data/java.mbtiles
echo "::endgroup::"

echo "::endgroup::"
echo "::group::OpenMapTiles monaco (docker)"
rm -f data/docker.mbtiles
docker run -v "$(pwd)/data":/data openmaptiles/planetiler-openmaptiles:"${version}" --area=monaco --mbtiles=data/docker.mbtiles
docker run -v "$(pwd)/data":/data openmaptiles/planetiler-openmaptiles:"${version}" --area=monaco --output=data/docker.mbtiles --threads=32
./scripts/check-monaco.sh data/docker.mbtiles
echo "::endgroup::"

Expand Down

0 comments on commit f822508

Please sign in to comment.