SQLite: Add @DatabaseCollation
#1005
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: | |
| name: macOS | |
| strategy: | |
| matrix: | |
| xcode: ["26.6"] | |
| runs-on: macos-26 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Select Xcode ${{ matrix.xcode }} | |
| run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app | |
| - name: Run tests | |
| run: swift test --traits CasePaths,Tagged,SuppressPlatformSQLiteAvailability | |
| - name: Build with availability checks | |
| run: swift build --traits CasePaths,Tagged,ColumnCoding | |
| - name: Build without exports | |
| run: swift build -c release -Xswiftc -D -Xswiftc EXCLUDE_EXPORTS --enable-all-traits | |
| - name: Build release | |
| run: swift build -c release --build-tests --enable-all-traits | |
| linux: | |
| name: Linux | |
| strategy: | |
| matrix: | |
| swift: | |
| - "6.3" | |
| runs-on: ubuntu-latest | |
| container: swift:${{ matrix.swift }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install SQLite | |
| run: apt update && apt -y install libsqlite3-dev | |
| - name: Build | |
| run: swift build |