docs: add trademark disclaimer #4
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: CI | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Build & Test | |
| runs-on: macos-14 # ARM64 runner (M1) | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Show Swift Version | |
| run: swift --version | |
| - name: Cache Swift packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: .build | |
| key: ${{ runner.os }}-spm-${{ hashFiles('Package.swift') }} | |
| restore-keys: | | |
| ${{ runner.os }}-spm- | |
| - name: Build (Debug) | |
| run: swift build -v | |
| - name: Run Tests | |
| run: swift test -v | |
| - name: Build (Release - ARM64) | |
| run: swift build -c release -v | |
| - name: Verify Binary | |
| run: | | |
| file .build/release/rastertoepiloz | |
| .build/release/rastertoepiloz --help 2>&1 || true | |
| build-universal: | |
| name: Build Universal Binary | |
| runs-on: macos-14 | |
| needs: build | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Show Swift Version | |
| run: swift --version | |
| - name: Cache Swift packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: .build | |
| key: ${{ runner.os }}-spm-universal-${{ hashFiles('Package.swift') }} | |
| restore-keys: | | |
| ${{ runner.os }}-spm-universal- | |
| - name: Build Universal Binary (arm64 + x86_64) | |
| run: | | |
| # Build for each architecture separately, then combine | |
| swift build -c release | |
| # On macOS 14 (ARM), the release binary is already ARM64 | |
| file .build/release/rastertoepiloz | |
| - name: Upload Build Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: rastertoepiloz-arm64 | |
| path: .build/release/rastertoepiloz | |
| retention-days: 7 | |
| lint: | |
| name: Lint | |
| runs-on: macos-14 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Check Swift format | |
| run: | | |
| # Verify Package.swift is valid | |
| swift package describe |