-
Notifications
You must be signed in to change notification settings - Fork 78
35 lines (33 loc) · 948 Bytes
/
serde_compat.yml
File metadata and controls
35 lines (33 loc) · 948 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Java SerDe Compatibility Test
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
name: SerDe Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Checkout Java
uses: actions/checkout@v5
with:
repository: apache/datasketches-java
path: java
- name: Setup Java
uses: actions/setup-java@v5
with:
java-version: '25'
distribution: 'temurin'
- name: Run Java
run: cd java && mvn test -P generate-java-files
- name: Copy files
run: cp java/serialization_test_data/java_generated_files/*.sk java
- name: Run cmake
run: cd build && cmake .. -DSERDE_COMPAT=true
- name: Build C++ unit tests
run: cmake --build build --config Release
- name: Run C++ tests
run: cmake --build build --config Release --target test