Update gitignore and Package.swift #3
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: [ main ] | |
| jobs: | |
| macos: | |
| name: macOS (Xcode 16.0, Swift 6.0) | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Select Xcode 16.0 | |
| run: sudo xcode-select -s /Applications/Xcode_16.0.app | |
| - name: Swift version | |
| run: swift --version | |
| - name: Build | |
| run: swift build | |
| - name: Run tests | |
| run: swift test | |
| macos-swift-6-2: | |
| name: macOS (Xcode 16.2, Swift 6.2) | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Select Xcode 16.2 | |
| run: sudo xcode-select -s /Applications/Xcode_16.2.app | |
| - name: Swift version | |
| run: swift --version | |
| - name: Build | |
| run: swift build | |
| - name: Run tests | |
| run: swift test | |
| linux: | |
| name: Linux (Swift 6.0) | |
| runs-on: ubuntu-latest | |
| container: swift:6.0 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Swift version | |
| run: swift --version | |
| - name: Build | |
| run: swift build | |
| - name: Run tests | |
| run: swift test | |
| windows: | |
| name: Windows (Swift 6.0) | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: compnerd/gha-setup-swift@main | |
| with: | |
| branch: swift-6.0-release | |
| tag: 6.0-RELEASE | |
| - name: Swift version | |
| run: swift --version | |
| - name: Build | |
| run: swift build | |
| - name: Run tests | |
| run: swift test |