Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/actions/prepare-java-linux/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "Prepare vortex dependencies for java"
description: "Install required packages for vortex java build"
runs:
using: "composite"
steps:
- shell: bash
run: |
apt update
apt install -y wget curl build-essential unzip clang
- name: Print GLIBC version
shell: bash
run: ldd --version
- name: Verify GLIBC version
shell: bash
run: |
set -eux

ldd --version | grep 'GLIBC 2.31'
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -845,3 +845,30 @@ jobs:
working-directory: vortex-flatbuffers/
run: |
find flatbuffers/ -type f -name "*.fbs" | sed 's/^flatbuffers\///' | xargs -I{} -n1 flatc -I flatbuffers.HEAD --conform-includes flatbuffers --conform flatbuffers/{} flatbuffers.HEAD/{}

check-java-publish-build:
runs-on: ${{ matrix.target.runs-on }}
container:
image: "ubuntu:20.04"
timeout-minutes: 120
strategy:
fail-fast: false
matrix:
target:
- { os: ubuntu, runs-on: "ubuntu-24.04-arm", target: aarch64-unknown-linux-gnu }
- { os: ubuntu, runs-on: "ubuntu-24.04", target: x86_64-unknown-linux-gnu }
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: ./.github/actions/prepare-java-linux
- uses: actions/setup-java@v5
with:
distribution: "corretto"
java-version: "17"
- uses: ./.github/actions/setup-rust
with:
targets: ${{ matrix.target.target }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
enable-sccache: "false"
- run: cargo build --package vortex-jni
11 changes: 1 addition & 10 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,16 +115,7 @@ jobs:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- run: |
apt update
apt install -y wget curl build-essential unzip
- name: Print GLIBC version
run: ldd --version
- name: Verify GLIBC version
run: |
set -eux

ldd --version | grep 'GLIBC 2.31'
- uses: ./.github/actions/prepare-java-linux
- uses: actions/setup-java@v5
with:
distribution: "corretto"
Expand Down
Loading