Bump activesupport from 7.2.3 to 7.2.3.1 #695
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: Build and test | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [macos-15, macos-26] | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| IOS_SIMULATOR: ${{ matrix.os == 'macos-15' && 'iPhone 16' || 'iPhone 16e' }} | |
| IOS_VERSION: ${{ matrix.os == 'macos-15' && '18.5' || '26.0.1' }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: "xcrun simctl list" | |
| run: "xcrun simctl list" | |
| - name: Update pod repo | |
| run: pod repo update | |
| - name: "Lint" | |
| run: make lint | |
| - name: "Run tests (PACKAGE_MANAGER_COMMAND: test)" | |
| env: | |
| PACKAGE_MANAGER_COMMAND: test -Xswiftc -warnings-as-errors | |
| run: ./run-tests.sh | |
| - name: "Run tests (PACKAGE_MANAGER_COMMAND: test --traits SQLiteSwiftCSQLite)" | |
| env: | |
| PACKAGE_MANAGER_COMMAND: test -Xswiftc -warnings-as-errors --traits SQLiteSwiftCSQLite | |
| run: ./run-tests.sh | |
| - name: "Run tests (PACKAGE_MANAGER_COMMAND: test --traits SQLiteSwiftCSQLite,FTS5)" | |
| env: | |
| PACKAGE_MANAGER_COMMAND: test -Xswiftc -warnings-as-errors --traits SQLiteSwiftCSQLite,FTS5 | |
| run: ./run-tests.sh | |
| - name: "Run tests (PACKAGE_MANAGER_COMMAND: test --traits SQLCipher)" | |
| env: | |
| PACKAGE_MANAGER_COMMAND: test -Xswiftc -warnings-as-errors --traits SQLCipher | |
| run: ./run-tests.sh | |
| - name: "Run tests (SPM integration test)" | |
| env: | |
| SPM: run | |
| run: ./run-tests.sh | |
| - name: "Run tests (BUILD_SCHEME: SQLite iOS)" | |
| env: | |
| BUILD_SCHEME: SQLite iOS | |
| run: ./run-tests.sh | |
| - name: "Run tests (BUILD_SCHEME: SQLite Mac)" | |
| env: | |
| BUILD_SCHEME: SQLite Mac | |
| run: ./run-tests.sh | |
| - name: "Run tests (VALIDATOR_SUBSPEC: none)" | |
| env: | |
| VALIDATOR_SUBSPEC: none | |
| run: ./run-tests.sh | |
| - name: "Run tests (VALIDATOR_SUBSPEC: standard)" | |
| env: | |
| VALIDATOR_SUBSPEC: standard | |
| run: ./run-tests.sh | |
| - name: "Run tests (VALIDATOR_SUBSPEC: standalone)" | |
| env: | |
| VALIDATOR_SUBSPEC: standalone | |
| run: ./run-tests.sh | |
| - name: "Run tests (VALIDATOR_SUBSPEC: SQLCipher)" | |
| env: | |
| VALIDATOR_SUBSPEC: SQLCipher | |
| run: ./run-tests.sh | |
| - name: "Run tests (tuist)" | |
| run: | | |
| brew install tuist | |
| cd Tests/Tuist/SQLite-Test | |
| tuist install | |
| tuist test | |
| build-linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install | |
| run: | | |
| sudo apt-get update -qq | |
| sudo apt-get install -y libsqlite3-dev | |
| - name: Test (default trait) | |
| run: swift test | |
| - name: Test (SQLiteSwiftCSQLite) | |
| run: swift test --traits SQLiteSwiftCSQLite | |
| - name: "Run tests (SPM integration test)" | |
| env: | |
| SPM: run | |
| run: ./run-tests.sh | |
| build-android: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run tests on Android | |
| uses: skiptools/swift-android-action@v2 | |
| with: | |
| # Ubuntu runners low on space causes the emulator to fail to install | |
| free-disk-space: true | |
| swift-build-flags: --traits SQLiteSwiftCSQLite |