You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by al...@apache.org on 2023/08/25 01:50:41 UTC

[datasketches-java] branch check_cpp_files updated: github action

This is an automated email from the ASF dual-hosted git repository.

alsay pushed a commit to branch check_cpp_files
in repository https://gitbox.apache.org/repos/asf/datasketches-java.git


The following commit(s) were added to refs/heads/check_cpp_files by this push:
     new 5f68de79 github action
5f68de79 is described below

commit 5f68de797ef466dace986428597d1bc97a767579
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Thu Aug 24 18:50:12 2023 -0700

    github action
---
 .github/workflows/check_cpp_files.yml | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/.github/workflows/check_cpp_files.yml b/.github/workflows/check_cpp_files.yml
new file mode 100644
index 00000000..8ed8826c
--- /dev/null
+++ b/.github/workflows/check_cpp_files.yml
@@ -0,0 +1,30 @@
+name: Serialization Compatibility Test
+
+on:
+  push:
+    branches:
+      - master
+  workflow_dispatch:
+
+jobs:
+  build:
+    name: SerDe Test
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v3
+      - name: Checkout C++
+        uses: actions/checkout@v3
+        with:
+          repository: apache/datasketches-cpp
+          path: cpp
+      - name: Configure C++ build
+        run: cd cpp/build && cmake .. -DGENERATE=true
+      - name: Build C++ unit tests
+        run: cd cpp && cmake --build build --config Release
+      - name: Run C++ tests
+        run: cd cpp && cmake --build build --config Release --target test
+      - name: Copy files
+        run: cp cpp/build/*/test/*_cpp.sk src/test/resources
+      - name: Run Java tests
+        run: mvn test -P check-cpp-files


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org