From 55c0c39963f26a4595ccedff4a16922007697f56 Mon Sep 17 00:00:00 2001 From: DenisTarasyuk Date: Tue, 16 Jan 2024 20:35:17 +0200 Subject: [PATCH] Removed windows and arm builds --- dev/tasks/java-jars/github.yml | 57 +++++----------------------------- 1 file changed, 7 insertions(+), 50 deletions(-) diff --git a/dev/tasks/java-jars/github.yml b/dev/tasks/java-jars/github.yml index 673a068b3724c..b4096f8a50d13 100644 --- a/dev/tasks/java-jars/github.yml +++ b/dev/tasks/java-jars/github.yml @@ -39,11 +39,6 @@ jobs: archery_arch: "amd64" archery_arch_alias: "x86_64" archery_arch_short: "amd64" - - runs_on: ["self-hosted", "Linux", "arm64"] - arch: "aarch_64" - archery_arch: "arm64v8" - archery_arch_alias: "aarch64" - archery_arch_short: "arm64" steps: {{ macros.github_checkout_arrow()|indent }} {{ macros.github_free_space()|indent }} @@ -53,6 +48,13 @@ jobs: df -h sudo rm -rf /opt/hostedtoolcache/CodeQL || : df -h + - name: Set Swap Space + continue-on-error: true + uses: thejerrybao/setup-swap-space@v1 + with: + swap-space-path: /swapfile + swap-size-gb: 16 + remove-existing-swap-files: false - name: Build C++ libraries env: {{ macros.github_set_sccache_envvars()|indent(8) }} @@ -153,47 +155,12 @@ jobs: name: macos-shared-lib-{{ arch }} path: arrow-shared-libs-macos-{{ arch }}.tar.gz - build-cpp-windows: - name: Build C++ libraries Windows - runs-on: windows-2019 - steps: - {{ macros.github_checkout_arrow()|indent }} - - name: Set up Java - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'temurin' - - name: Download Timezone Database - shell: bash - run: arrow/ci/scripts/download_tz_database.sh - - name: Install sccache - shell: bash - run: arrow/ci/scripts/install_sccache.sh pc-windows-msvc $(pwd)/sccache - - name: Build C++ libraries - shell: cmd - env: - {{ macros.github_set_sccache_envvars()|indent(8) }} - run: | - call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 - REM For ORC - set TZDIR=/c/msys64/usr/share/zoneinfo - bash -c "arrow/ci/scripts/java_jni_windows_build.sh $(pwd)/arrow $(pwd)/arrow/cpp-build $(pwd)/arrow/java-dist" - - name: Compress into single artifact to keep directory structure - shell: bash - run: tar -cvzf arrow-shared-libs-windows.tar.gz arrow/java-dist/ - - name: Upload artifacts - uses: actions/upload-artifact@v2 - with: - name: windows-shared-lib - path: arrow-shared-libs-windows.tar.gz - package-jars: name: Build jar files runs-on: macos-latest needs: - build-cpp-ubuntu - build-cpp-macos - - build-cpp-windows steps: {{ macros.github_checkout_arrow(fetch_depth=0)|indent }} - name: Download Libraries @@ -204,9 +171,7 @@ jobs: run: | mv artifacts/*/*.tar.gz . tar -xvzf arrow-shared-libs-linux-x86_64.tar.gz - tar -xvzf arrow-shared-libs-linux-aarch_64.tar.gz tar -xvzf arrow-shared-libs-macos-x86_64.tar.gz - tar -xvzf arrow-shared-libs-windows.tar.gz - name: Test that shared libraries exist run: | set -x @@ -216,19 +181,11 @@ jobs: test -f arrow/java-dist/x86_64/libarrow_orc_jni.so test -f arrow/java-dist/x86_64/libgandiva_jni.so - test -f arrow/java-dist/aarch_64/libarrow_cdata_jni.so - test -f arrow/java-dist/aarch_64/libarrow_dataset_jni.so - test -f arrow/java-dist/aarch_64/libarrow_orc_jni.so - test -f arrow/java-dist/aarch_64/libgandiva_jni.so - test -f arrow/java-dist/x86_64/libarrow_cdata_jni.dylib test -f arrow/java-dist/x86_64/libarrow_dataset_jni.dylib test -f arrow/java-dist/x86_64/libarrow_orc_jni.dylib test -f arrow/java-dist/x86_64/libgandiva_jni.dylib - test -f arrow/java-dist/x86_64/arrow_cdata_jni.dll - test -f arrow/java-dist/x86_64/arrow_dataset_jni.dll - test -f arrow/java-dist/x86_64/arrow_orc_jni.dll - name: Build bundled jar run: | set -e