Skip to content

Commit

Permalink
test: gha
Browse files Browse the repository at this point in the history
  • Loading branch information
pshirshov committed Oct 23, 2024
1 parent beabe14 commit 7e5b8b5
Showing 1 changed file with 40 additions and 31 deletions.
71 changes: 40 additions & 31 deletions .github/workflows/baboon-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,31 @@ jobs:
# 1) don't forget about os entry in prepare-release
# 2) see : https://github.com/actions/runner-images
include:
- target: linux-aarch64
os: self-hosted
runs-on: [ "ARM64" ]
preconfigured: true
native-build-args: --verbose -J-Xmx10g
- target: linux-amd64
os: ubuntu-latest
runs-on: [ ]
native-build-args: --verbose -J-Xmx10g
java-version: '23'
- target: windows-amd64
os: windows-2022
runs-on: [ ]
native-build-args: --verbose -J-Xmx10g
java-version: '23'
- target: macos-amd64-13
os: macos-13 # this is amd64
runs-on: [ ]
native-build-args: --verbose -J-Xmx13g
java-version: '23'
- target: macos-aarch64-14
runs-on: [ ]
os: macos-14 # yes, this is aarch64
native-build-args: --verbose -J-Xmx13g
java-version: '23'
# - target: macos-amd64-13
# os: macos-13 # this is amd64
# runs-on: [ ]
# native-build-args: --verbose -J-Xmx13g
# java-version: '23'
# - target: windows-amd64
# os: windows-2022
# runs-on: [ ]
# native-build-args: --verbose -J-Xmx10g
# java-version: '23'
# - target: linux-aarch64
# os: self-hosted
# runs-on: [ "ARM64" ]
# preconfigured: true
# native-build-args: --verbose -J-Xmx10g
name: ${{ matrix.target }}
runs-on:
- ${{ matrix.os }}
Expand Down Expand Up @@ -81,26 +81,35 @@ jobs:
needs: [ build ]
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: native-image-ubuntu-latest
path: tmp/baboon-linux-x64
- uses: actions/download-artifact@v4
with:
name: native-image-macos-12
path: tmp/baboon-mac-x64
- uses: actions/download-artifact@v4
- name: Download All Artifacts
uses: actions/download-artifact@v4
with:
name: native-image-macos-14
path: tmp/baboon-mac-arm64
- uses: actions/download-artifact@v4
with:
name: native-image-windows-2022
path: tmp/baboon-windows-x64
path: binaries
pattern: native-image-*
merge-multiple: true

# - uses: actions/download-artifact@v4
# with:
# name: native-image-ubuntu-latest
# path: tmp/baboon-linux-x64
# - uses: actions/download-artifact@v4
# with:
# name: native-image-macos-12
# path: tmp/baboon-mac-x64
# - uses: actions/download-artifact@v4
# with:
# name: native-image-macos-14
# path: tmp/baboon-mac-arm64
# - uses: actions/download-artifact@v4
# with:
# name: native-image-windows-2022
# path: tmp/baboon-windows-x64
- name: Prepare layout
run: |
pushd .
cd tmp/
ls -la
cd binaries/
ls -la
zip -r9 baboon-linux-x64.zip ./baboon-linux-x64/
zip -r9 baboon-mac-x64.zip ./baboon-mac-x64/
zip -r9 baboon-mac-arm64.zip ./baboon-mac-arm64/
Expand Down

0 comments on commit 7e5b8b5

Please sign in to comment.