Add traits for SQLite compile options #926
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: swift-sqlcipher ci | |
| on: | |
| push: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - '*' | |
| schedule: | |
| - cron: '0 6 * * *' | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: "Test Swift Package Linux" | |
| run: swift test | |
| android: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Free Disk Space" | |
| run: | | |
| sudo rm -rf /opt/microsoft /opt/google /usr/share/dotnet /opt/ghc /opt/hostedtoolcache/CodeQL | |
| docker image prune --all --force | |
| docker builder prune -a | |
| - uses: actions/checkout@v6 | |
| - name: "Test Swift Package Android" | |
| uses: skiptools/swift-android-action@v2 | |
| ios: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: "Test Swift Package iOS" | |
| run: xcodebuild test -sdk "iphonesimulator" -destination "platform=iOS Simulator,name=$(xcrun simctl list devices --json | jq -r '.devices | to_entries[] | .value[] | select(.availability == "(available)" or .isAvailable == true) | .name' | grep -E '^iPhone [0-9]+$' | sort -V | tail -n 1)" -scheme "$(xcodebuild -list -json | jq -r '.workspace.schemes[-1]')" | |
| macos: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: "Test Swift Package macOS" | |
| run: swift test | |
| windows: | |
| runs-on: windows-2022 | |
| steps: | |
| - uses: compnerd/gha-setup-swift@main | |
| with: | |
| swift-version: swift-6.2.3-release | |
| swift-build: 6.2.3-RELEASE | |
| - uses: actions/checkout@v6 | |
| - name: "Test Swift Package Windows" | |
| run: swift test | |