Skip to content

Commit 65b0851

Browse files
committed
multi os
1 parent 233e73a commit 65b0851

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/prql-java-test.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ on:
77

88
jobs:
99
junit-test:
10-
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
os: [ ubuntu-latest, windows-latest, macOS-latest ]
13+
runs-on: ${{matrix.os}}
1114
steps:
1215
- name: Checkout code
1316
uses: actions/checkout@v3
@@ -22,6 +25,6 @@ jobs:
2225
rustup target add x86_64-unknown-linux-gnu
2326
cd ./
2427
cargo build --release --target=x86_64-unknown-linux-gnu
25-
cp -f target/x86_64-unknown-linux-gnu/release/libprql4j.so java-api/src/main/resources/libprql4j-linux64.so
28+
cp -f ./prql-java/target/x86_64-unknown-linux-gnu/release/libprql4j.so ./prql-java/java-api/src/main/resources/libprql4j-linux64.so
2629
- name: Maven test
2730
run: cd ./java-api/ && ./mvnw test

0 commit comments

Comments
 (0)