fix(ci): skip codesign — only build darwin binaries on macOS runners
CI / Build & Test (push) Failing after 33s
CI / Build & Test (push) Failing after 33s
Made-with: Cursor
This commit is contained in:
+13
-2
@@ -56,8 +56,19 @@ jobs:
|
||||
- name: Pack extension
|
||||
run: npm run pack
|
||||
|
||||
- name: Build all platform binaries
|
||||
run: npm run build:dist:all
|
||||
- name: Build platform binaries
|
||||
run: |
|
||||
PLAT=$(node -e "process.stdout.write(process.platform)")
|
||||
if [ "$PLAT" = "linux" ]; then
|
||||
echo "Linux runner — building linux-arm64 + linux-x64 + win32-x64"
|
||||
node scripts/build-distributable.js --host linux-arm64 --host linux-x64 --host win32-x64
|
||||
elif [ "$PLAT" = "darwin" ]; then
|
||||
echo "macOS runner — building darwin-arm64 + darwin-x64"
|
||||
node scripts/build-distributable.js --host darwin-arm64 --host darwin-x64
|
||||
else
|
||||
echo "Unknown platform $PLAT — building current host only"
|
||||
npm run build:dist
|
||||
fi
|
||||
|
||||
- name: Smoke test — run native binary for current platform
|
||||
run: |
|
||||
|
||||
@@ -24,8 +24,19 @@ jobs:
|
||||
run: npm install
|
||||
working-directory: native-host
|
||||
|
||||
- name: Build all platform binaries
|
||||
run: npm run build:dist:all
|
||||
- name: Build platform binaries
|
||||
run: |
|
||||
PLAT=$(node -e "process.stdout.write(process.platform)")
|
||||
if [ "$PLAT" = "linux" ]; then
|
||||
echo "Linux runner — building linux-arm64 + linux-x64 + win32-x64"
|
||||
node scripts/build-distributable.js --host linux-arm64 --host linux-x64 --host win32-x64
|
||||
elif [ "$PLAT" = "darwin" ]; then
|
||||
echo "macOS runner — building darwin-arm64 + darwin-x64"
|
||||
node scripts/build-distributable.js --host darwin-arm64 --host darwin-x64
|
||||
else
|
||||
echo "Unknown platform $PLAT — building current host only"
|
||||
npm run build:dist
|
||||
fi
|
||||
|
||||
- name: Package extension (zip + xpi)
|
||||
run: npm run pack
|
||||
|
||||
Reference in New Issue
Block a user