feat: add system-wide logging framework with rotation and export #92
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build & Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-test: | |
| name: Build & Test | |
| runs-on: macos-15 | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Cache SPM dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: .build | |
| key: spm-${{ runner.os }}-${{ hashFiles('Package.resolved') }} | |
| restore-keys: | | |
| spm-${{ runner.os }}- | |
| - name: Build (Debug) | |
| run: swift build | |
| - name: Test | |
| run: swift test | |
| - name: Build (Release) | |
| run: swift build -c release | |
| - name: Initialize Xcode tools | |
| run: sudo xcodebuild -runFirstLaunch | |
| - name: Verify app bundle | |
| run: | | |
| ./scripts/build.sh release | |
| test -d VocaMac.app || exit 1 | |
| codesign -v VocaMac.app | |
| test -f VocaMac.app/Contents/Resources/Assets.car || echo "⚠️ Assets.car missing" | |
| echo "App bundle verified" |