ci: run build-view macOS jobs on self-hosted runner

This commit is contained in:
4pmtong 2026-06-30 19:22:51 +08:00
parent 6300702844
commit 44aeab4a80

View file

@ -15,10 +15,10 @@ jobs:
fail-fast: false
matrix:
include:
- os: macos-latest
- os: self-hosted
arch: arm64
artifact_name: macos-arm64
- os: macos-15-intel
- os: self-hosted
arch: x64
artifact_name: macos-intel
- os: windows-latest
@ -34,6 +34,21 @@ jobs:
with:
clean: true
- name: Print self-hosted runner diagnostics
if: contains(matrix.os, 'self-hosted')
run: |
echo "Runner name: ${{ runner.name }}"
echo "Runner OS: ${{ runner.os }}"
echo "Runner arch: ${{ runner.arch }}"
echo "Workflow runner selector: ${{ matrix.os }}"
echo "Build arch: ${{ matrix.arch }}"
sw_vers || true
uname -a || true
node --version || true
npm --version || true
python3 --version || true
xcodebuild -version || true
# Clean node_modules on self-hosted runner to ensure fresh install
- name: Clean node_modules (self-hosted)
if: contains(matrix.os, 'self-hosted')