Fix unimplemented endpoints #221
This file contains 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: Select Xcode 15.4 | |
run: sudo xcode-select -s /Applications/Xcode_15.4.app | |
- 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: Select Xcode 15.4 | |
run: sudo xcode-select -s /Applications/Xcode_15.4.app | |
- 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: Select Xcode 15.4 | |
run: sudo xcode-select -s /Applications/Xcode_15.4.app | |
- 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 | |
ubuntu-tests: | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: make test-swift | |
static-stdlib: | |
strategy: | |
matrix: | |
image: ['swift:5.9-focal'] | |
runs-on: ubuntu-latest | |
container: | |
image: ${{ matrix.image }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build for static-stdlib (debug) | |
run: swift build -c debug --static-swift-stdlib | |
- name: Build for static-stdlib (release) | |
run: swift build -c release --static-swift-stdlib |