Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
add matrix java test
  • Loading branch information
eisber committed Feb 27, 2023
1 parent 6c45bf6 commit b883d0c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build_jar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ jobs:

build_java:
name: java
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
needs: [build_jni]

steps:
Expand All @@ -54,9 +58,6 @@ jobs:
name: natives
path: natives

- name: debug
run: find natives

- name: Set up JDK 11
uses: actions/setup-java@v3
with:
Expand All @@ -66,7 +67,8 @@ jobs:
cache: maven

- name: Build with Maven
working-directory: ./java
run: mvn --batch-mode package failsafe:integration-test

# TODO: publish to maven
# TODO: publish to maven (only from ubuntu)

2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<build>
<resources>
<resource>
<directory>${project.build.directory}/../../natives/</directory>
<directory>${project.basedir}/../natives/</directory>
<targetPath>${project.build.directory}/classes/natives/</targetPath>
</resource>
</resources>
Expand Down

0 comments on commit b883d0c

Please sign in to comment.