This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-graalvm-distro.git
The following commit(s) were added to refs/heads/main by this push:
new 4444d00 Drop macOS native build from CI: ASF runners lack sufficient
RAM
4444d00 is described below
commit 4444d00d33ccbd7ec1d5d02ea2dc33fefdebfb1f
Author: Wu Sheng <[email protected]>
AuthorDate: Fri Mar 13 13:54:51 2026 +0800
Drop macOS native build from CI: ASF runners lack sufficient RAM
GraalVM native-image needs ~6GB heap; macOS runners only have 7.5GB total.
No cross-compilation possible. Users build macOS binaries locally.
---
.github/workflows/ci.yml | 53 +-----------------------------------------------
changes/changes.md | 2 +-
2 files changed, 2 insertions(+), 53 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ba2703b..f064b43 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -261,57 +261,6 @@ jobs:
path: /tmp/skywalking-oap-native.tar
retention-days: 1
- # ── Native image build for macOS (per architecture) ──
- build-native-macos:
- name: Native macOS ${{ matrix.arch }}
- runs-on: ${{ matrix.runner }}
- needs: init-skywalking
- timeout-minutes: 60
- if: github.event_name != 'pull_request'
- strategy:
- matrix:
- include:
- - arch: arm64
- runner: macos-latest-xlarge
- steps:
- - name: Checkout with submodules
- uses: actions/checkout@v5
- with:
- ref: ${{ github.event.inputs.commit || github.ref }}
- submodules: recursive
-
- - name: Set up GraalVM JDK 25
- uses: graalvm/setup-graalvm@v1
- with:
- java-version: '25'
- distribution: 'graalvm'
-
- - name: Restore Maven cache
- uses: actions/cache/restore@v5
- with:
- path: ~/.m2/repository
- key: ${{ needs.init-skywalking.outputs.cache-key }}
-
- - name: Build native image
- run: make native-image
-
- - name: Rename tarball with arch and version
- id: rename
- run: |
- VERSION="${{ needs.init-skywalking.outputs.version }}"
- SRC=$(ls
oap-graalvm-native/target/oap-graalvm-native-*-native-dist.tar.gz)
-
DEST="oap-graalvm-native/target/apache-skywalking-graalvm-distro-${VERSION}-macos-${{
matrix.arch }}.tar.gz"
- cp "${SRC}" "${DEST}"
- echo "path=${DEST}" >> "$GITHUB_OUTPUT"
-
- - name: Upload native tarball
- uses: actions/upload-artifact@v5
- with:
- name: native-tarball-macos-${{ matrix.arch }}
- path: ${{ steps.rename.outputs.path }}
- if-no-files-found: error
- retention-days: 1
-
# ── E2E tests using pre-built native image ──
e2e:
name: E2E ${{ matrix.test.name }}
@@ -445,7 +394,7 @@ jobs:
github-release:
name: GitHub Release
runs-on: ubuntu-latest
- needs: [init-skywalking, build-native-linux, build-native-macos]
+ needs: [init-skywalking, build-native-linux]
if: needs.init-skywalking.outputs.is-release == 'true'
permissions:
contents: write
diff --git a/changes/changes.md b/changes/changes.md
index 915ed93..6f0856b 100644
--- a/changes/changes.md
+++ b/changes/changes.md
@@ -51,7 +51,7 @@ This is the initial release, built on top of Apache
SkyWalking OAP server.
- Native distribution: single binary (~200MB) with config files, LICENSE,
NOTICE, and third-party licenses.
- Docker image: `ghcr.io/apache/skywalking-graalvm-distro` based on
`debian:bookworm-slim`.
- Multi-arch Docker images: `linux/amd64` and `linux/arm64`.
-- macOS native binaries: `amd64` (Intel) and `arm64` (Apple Silicon).
+- macOS native binary: build locally via `make native-image` on macOS.
### Testing