normalize: project Markdown tables for speech #372
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: Swift | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - 'v*' | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build-and-test: | |
| name: Swift package smoke on macOS 26 | |
| runs-on: macos-26 | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Select latest stable Xcode | |
| uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: latest-stable | |
| - name: Show Swift version | |
| run: swift --version | |
| - name: Validate package manifest | |
| run: swift package dump-package | |
| - name: Build package | |
| run: swift build | |
| - name: Test package | |
| run: swift test | |
| tagged-runtime-publication: | |
| name: Tagged Runtime Publication (${{ matrix.configuration }}) | |
| if: startsWith(github.ref, 'refs/tags/') | |
| runs-on: macos-26 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - configuration: Debug | |
| runtime_root: .local/derived-data/runtime-debug | |
| - configuration: Release | |
| runtime_root: .local/derived-data/runtime-release | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Select latest stable Xcode | |
| uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: latest-stable | |
| - name: Install Metal Toolchain | |
| run: | | |
| set -euo pipefail | |
| xcodebuild -downloadComponent MetalToolchain | |
| xcrun --find metal >/dev/null | |
| - name: Publish runtime | |
| run: sh scripts/repo-maintenance/publish-runtime.sh --configuration "${{ matrix.configuration }}" | |
| - name: Verify runtime | |
| run: sh scripts/repo-maintenance/verify-runtime.sh --configuration "${{ matrix.configuration }}" | |
| - name: Upload published runtime artifacts | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: speakswiftly-runtime-${{ matrix.configuration }} | |
| path: ${{ matrix.runtime_root }} | |
| if-no-files-found: error |