Skip to content

Commit c3cf8d7

Browse files
committed
test macos
1 parent 456a24a commit c3cf8d7

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/pr_build_macos.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,39 @@ jobs:
131131
artifact_name: ${{ matrix.os }}-${{ matrix.profile.name }}-${{ matrix.suite.name }}-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}
132132
suites: ${{ matrix.suite.value }}
133133
maven_opts: ${{ matrix.profile.maven_opts }}
134+
135+
# Java tests with native features
136+
macos-aarch64-test-features:
137+
strategy:
138+
matrix:
139+
os: [macos-14]
140+
java_version: [17]
141+
features:
142+
- value: "hdfs-opendal"
143+
suites: |
144+
org.apache.comet.parquet.ParquetReadFromFakeHadoopFsSuite
145+
org.apache.comet.parquet.ParquetReadFromHdfsSuite
146+
- value: "hdfs"
147+
suites: |
148+
org.apache.comet.parquet.ParquetReadFromHdfsSuite
149+
fail-fast: false
150+
name: ${{ matrix.os }}/java ${{ matrix.java_version }}-features [${{ matrix.features.value }}]
151+
runs-on: ${{ matrix.os }}
152+
153+
steps:
154+
- uses: actions/checkout@v5
155+
- name: Setup Rust & Java toolchain
156+
uses: ./.github/actions/setup-macos-builder
157+
with:
158+
rust-version: ${{env.RUST_VERSION}}
159+
jdk-version: ${{ matrix.profile.java_version }}
160+
jdk-architecture: aarch64
161+
protoc-architecture: aarch_64
162+
- name: Java test steps
163+
uses: ./.github/actions/java-test
164+
with:
165+
artifact_name: ${{ matrix.os }}-java-${{ matrix.java_version }}-features-${{ matrix.features.value }}-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}
166+
features: ${{ matrix.features.value }}
167+
maven_opts: "-Dtest=none -Dfeatures=${{ matrix.features.value }}"
168+
suites: ${{ matrix.features.suites }}
169+
upload-test-reports: true

0 commit comments

Comments
 (0)