Skip to content

Commit

Permalink
Enabled buildjet arm runner
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisTarasyuk committed Mar 7, 2024
1 parent 54c5e8b commit 65af6b0
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions dev/tasks/java-jars/github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ jobs:
archery_arch: "amd64"
archery_arch_alias: "x86_64"
archery_arch_short: "amd64"
- runs_on: ["buildjet-8vcpu-ubuntu-2204-arm"]
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 }}
Expand All @@ -50,11 +55,12 @@ jobs:
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
shell: bash
run: |
sudo fallocate -l 16G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
- name: Build C++ libraries
env:
{{ macros.github_set_sccache_envvars()|indent(8) }}
Expand Down Expand Up @@ -171,6 +177,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
- name: Test that shared libraries exist
run: |
Expand All @@ -180,6 +187,11 @@ jobs:
test -f arrow/java-dist/x86_64/libarrow_dataset_jni.so
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
Expand Down

0 comments on commit 65af6b0

Please sign in to comment.