kopia lustrzana https://github.com/onthegomap/planetiler
run generate test from CI (#37)
rodzic
7549f8b504
commit
b912dbe8c6
|
@ -37,6 +37,21 @@ jobs:
|
||||||
run: mvnw.cmd --batch-mode -no-transfer-progress package jib:buildTar --file pom.xml
|
run: mvnw.cmd --batch-mode -no-transfer-progress package jib:buildTar --file pom.xml
|
||||||
shell: cmd
|
shell: cmd
|
||||||
|
|
||||||
|
regenerate:
|
||||||
|
name: Regenerate
|
||||||
|
runs-on: macos-latest
|
||||||
|
timeout-minutes: 5
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up JDK 17
|
||||||
|
uses: actions/setup-java@v2
|
||||||
|
with:
|
||||||
|
java-version: 17
|
||||||
|
distribution: 'temurin'
|
||||||
|
- run: ./scripts/regenerate-openmaptiles.sh
|
||||||
|
- run: ./mvnw -DskipTests --batch-mode -no-transfer-progress clean install -pl flatmap-basemap -am
|
||||||
|
- run: ./mvnw --batch-mode -no-transfer-progress test -pl flatmap-basemap
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
name: Example project
|
name: Example project
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -4,12 +4,11 @@ set -o errexit
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
set -o nounset
|
set -o nounset
|
||||||
|
|
||||||
JAR="flatmap-dist/target/*-with-deps.jar"
|
|
||||||
TAG="${1:-"v3.12.2"}"
|
TAG="${1:-"v3.12.2"}"
|
||||||
echo "tag=${TAG}"
|
echo "tag=${TAG}"
|
||||||
|
|
||||||
echo "Building..."
|
echo "Building..."
|
||||||
./mvnw -DskipTests=true --projects flatmap-basemap -am package
|
./mvnw -DskipTests=true --projects flatmap-dist -am package
|
||||||
|
|
||||||
echo "Running..."
|
echo "Running..."
|
||||||
java -cp "$JAR" com.onthegomap.flatmap.basemap.Generate -tag="${TAG}"
|
java -cp flatmap-dist/target/*-with-deps.jar com.onthegomap.flatmap.basemap.Generate -tag="${TAG}"
|
||||||
|
|
Ładowanie…
Reference in New Issue