Remove the symbolic link which was provided only for convenience purp… #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PROJ-JNI build and tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Install PROJ | |
run: sudo apt-get install proj-bin libproj-dev | |
- name: Show PROJ version | |
run: proj | |
- name: Build with Maven | |
run: mvn --batch-mode package | |
- name: List contents of directory | |
run: ls -l --human-readable --dereference target/ | |
- name: Verify module identification | |
run: jar --describe-module --file target/proj-*.jar --release 9 | |
- name: Run tests | |
run: java --class-path target/proj-2.1-SNAPSHOT.jar example/TransformPoints.java |