Allow 3rd party macros to expand case paths. #636
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - '*' | |
| workflow_dispatch: | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| macos: | |
| name: macOS (Xcode ${{ matrix.xcode }}) | |
| runs-on: macos-26 | |
| strategy: | |
| matrix: | |
| xcode: | |
| - '26.5' | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Select Xcode ${{ matrix.xcode }} | |
| run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app | |
| - name: Print Swift version | |
| run: swift --version | |
| - name: Run tests | |
| run: make test-swift | |
| macos-library-evolution: | |
| name: macOS Library Evolution (Xcode ${{ matrix.xcode }}) | |
| runs-on: macos-26 | |
| strategy: | |
| matrix: | |
| xcode: | |
| - '26.5' | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Select Xcode ${{ matrix.xcode }} | |
| run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app | |
| - name: Print Swift version | |
| run: swift --version | |
| - name: Build for Library Evolution | |
| run: make build-for-library-evolution | |
| linux: | |
| strategy: | |
| matrix: | |
| swift: | |
| - '6.3' | |
| name: Ubuntu (Swift ${{ matrix.swift }}) | |
| runs-on: ubuntu-latest | |
| container: swift:${{ matrix.swift }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Run tests | |
| run: swift test --parallel | |
| - name: Run tests (release) | |
| run: swift test -c release --parallel | |
| check-macro-compatibility: | |
| name: Check Macro Compatibility | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Run Swift Macro Compatibility Check | |
| uses: Matejkob/swift-macro-compatibility-check@v1 | |
| with: | |
| run-tests: false | |
| major-versions-only: true |