Skip to content

Commit

Permalink
try to make the build run on arm and wait for a timeout or an error
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed Jul 20, 2024
1 parent 76aafa1 commit 7da87c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ on:
- '*'
jobs:
linuxARM:
runs-on: ubuntu-latest
runs-on: ubuntu-24-arm
steps:
- uses: actions/checkout@v2
- uses: pguyot/arm-runner-action@v2
with:
commands: |
bash package-linux_x64.sh
- name: Upload math result for job Linux ARM
- name: Checkout
uses: actions/checkout@v1
- name: Build
run: bash package-linux_x64.sh
- name: Upload math result for job Linux
uses: actions/upload-artifact@v3
with:
name: linux-lib
path: release/*

linux:
runs-on: ubuntu-20.04
steps:
Expand Down
2 changes: 1 addition & 1 deletion package-linux_x64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
export ARCH=x86_64
JVM=zulu17.50.19-ca-fx-jdk17.0.11-linux_x64
if [[ $(uname -m) == 'aarch64' ]]; then
ARCH=arm64
ARCH=aarch64
echo "ARM linux detected https://cdn.azul.com/zulu/bin/zulu17.52.17-ca-fx-jdk17.0.12-linux_aarch64.tar.gz"
JVM=zulu17.52.17-ca-fx-jdk17.0.12-linux_aarch64
else
Expand Down

0 comments on commit 7da87c0

Please sign in to comment.