Jimexist commented on code in PR #2602:
URL: https://github.com/apache/thrift/pull/2602#discussion_r867820140
##########
.github/workflows/build.yml:
##########
@@ -131,11 +131,111 @@ jobs:
- name: Run make for java
run: make -C lib/java
+ - name: Run make install for java
+ run: make -C lib/java install
+
+ - name: Upload java libthrift artifacts
+ uses: actions/upload-artifact@v3
+ with:
+ name: libthrift
+ if-no-files-found: error
+ path: ~/.m2/repository/org/apache/thrift
+
- name: Run make check for java
run: make -C lib/java check
+ - name: Run make precross for java
+ run: make -C lib/java precross
+
+ - name: Upload java precross artifacts
+ uses: actions/upload-artifact@v3
+ with:
+ name: java-precross
+ if-no-files-found: error
+ path: |
+ lib/java/build/functionalTestJar/
+ lib/java/build/runclient
+ lib/java/build/runnonblockingserver
+ lib/java/build/runserver
+ lib/java/build/runservletserver
+ retention-days: 3
+
- name: Run make for kotlin
run: make -C lib/kotlin
- name: Run make check for kotlin
run: make -C lib/kotlin check
+
+ - name: Run make precross for kotlin
+ run: make -C lib/kotlin precross
+
+ - name: Upload kotlin precross artifacts
+ uses: actions/upload-artifact@v3
+ with:
+ name: kotlin-precross
+ if-no-files-found: error
+ path: |
+ lib/kotlin/cross-test-client/build/install/TestClient/
+ lib/kotlin/cross-test-server/build/install/TestServer/
+ retention-days: 3
+
+ cross-test:
+ needs:
+ - lib-java-kotlin
+ strategy:
+ matrix:
+ test_regex:
+ - "[-](binary)"
+ - "[-](header|json)"
+ - "[-](compact|multiplexed)"
Review Comment:
i'm currently just following up the travis setup, the split is also for the
more anticipated cross tests in future.
i can revert back to having just one big test runs though.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]