Modernize CI workflows for current Xcode and Swift versions with Xcode 16.4 #235
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: | |
| library-swift-latest: | |
| name: Library (swift-latest) | |
| runs-on: macos-14 | |
| strategy: | |
| matrix: | |
| config: ['debug', 'release'] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Run ${{ matrix.config }} tests | |
| run: CONFIG=${{ matrix.config }} make test-library | |
| - name: Build platforms ${{ matrix.config }} | |
| run: CONFIG=${{ matrix.config }} make build-all-platforms | |
| library-evolution: | |
| name: Library (evolution) | |
| runs-on: macos-14 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Build for library evolution | |
| run: make build-for-library-evolution | |
| library-swift-5-9: | |
| name: Library (swift 5.9) | |
| runs-on: macos-14 | |
| strategy: | |
| matrix: | |
| config: ['debug', 'release'] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Run ${{ matrix.config }} tests | |
| run: CONFIG=${{ matrix.config }} make test-library | |
| - name: Build platforms ${{ matrix.config }} | |
| run: CONFIG=${{ matrix.config }} make build-all-platforms | |