Skip to content

fix: two-phase ps sampling for space-safe command parsing (issue #29)… #58

fix: two-phase ps sampling for space-safe command parsing (issue #29)…

fix: two-phase ps sampling for space-safe command parsing (issue #29)… #58

Workflow file for this run

name: CI
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
on:
push:
branches: [main]
tags: ['v*']
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Show toolchain versions
run: |
swift --version
xcodebuild -version
- name: Build Swift package
run: swift build
- name: Build app bundle
run: ./build_app.sh
- name: Validate app bundle
run: ./scripts/validate_app_bundle.sh dist/ProcessBarMonitor.app
- name: Archive app bundle
run: |
mkdir -p release
ditto -c -k --sequesterRsrc --keepParent dist/ProcessBarMonitor.app release/ProcessBarMonitor-ci-macOS.zip
shasum -a 256 release/ProcessBarMonitor-ci-macOS.zip > release/ProcessBarMonitor-ci-SHA256SUMS.txt
- name: Upload app artifact
uses: actions/upload-artifact@v7
with:
name: ProcessBarMonitor-macOS
path: |
dist/ProcessBarMonitor.app
release/ProcessBarMonitor-ci-macOS.zip
release/ProcessBarMonitor-ci-SHA256SUMS.txt
release-validation:
if: startsWith(github.ref, 'refs/tags/v')
needs: build
runs-on: macos-latest
steps:
- name: Release tag detected
run: echo "Release tag ${GITHUB_REF_NAME} validated by CI build job."