mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-23 04:04:22 +00:00
The tests pass on my machine, but not on CI: https://github.com/groue/GRDB.swift/actions/runs/26725623508/job/78792729917
144 lines
3.9 KiB
YAML
144 lines
3.9 KiB
YAML
# https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md
|
|
|
|
name: "GRDB CI"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- development
|
|
paths:
|
|
- 'GRDB/**'
|
|
- 'Tests/**'
|
|
- '.github/workflows/**'
|
|
- 'Makefile'
|
|
- 'Package.swift'
|
|
- 'SQLiteCustom/src'
|
|
pull_request:
|
|
paths:
|
|
- 'GRDB/**'
|
|
- 'Tests/**'
|
|
- '.github/workflows/**'
|
|
- 'Makefile'
|
|
- 'Package.swift'
|
|
- 'SQLiteCustom/src'
|
|
|
|
concurrency:
|
|
group: ${{ github.ref_name }}
|
|
cancel-in-progress: true
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
Framework:
|
|
name: Framework
|
|
runs-on: ${{ matrix.runsOn }}
|
|
env:
|
|
DEVELOPER_DIR: "/Applications/${{ matrix.xcode }}/Contents/Developer"
|
|
timeout-minutes: 60
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- xcode: "Xcode_16.4.app"
|
|
runsOn: macOS-15
|
|
destination: "platform=macOS"
|
|
name: "macOS"
|
|
- xcode: "Xcode_16.4.app"
|
|
runsOn: macOS-15
|
|
destination: "OS=18.5,name=iPhone 16 Pro"
|
|
name: "iOS"
|
|
- xcode: "Xcode_16.4.app"
|
|
runsOn: macOS-15
|
|
destination: "OS=18.5,name=Apple TV"
|
|
name: "tvOS"
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- name: ${{ matrix.name }}
|
|
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project GRDB.xcodeproj -scheme GRDB -destination "${{ matrix.destination }}" OTHER_SWIFT_FLAGS='$(inherited) -D SQLITE_ENABLE_FTS5 -D SQLITE_ENABLE_PREUPDATE_HOOK' GCC_PREPROCESSOR_DEFINITIONS='$(inherited) GRDB_SQLITE_ENABLE_PREUPDATE_HOOK=1' clean test
|
|
SPM:
|
|
name: SPM
|
|
runs-on: ${{ matrix.runsOn }}
|
|
env:
|
|
DEVELOPER_DIR: "/Applications/${{ matrix.xcode }}/Contents/Developer"
|
|
timeout-minutes: 60
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- xcode: "Xcode_16.4.app"
|
|
runsOn: macOS-15
|
|
name: "Xcode 16.4"
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- name: ${{ matrix.name }}
|
|
run: make test_SPM test_install_SPM
|
|
SQLCipher3:
|
|
name: SQLCipher3
|
|
runs-on: ${{ matrix.runsOn }}
|
|
env:
|
|
DEVELOPER_DIR: "/Applications/${{ matrix.xcode }}/Contents/Developer"
|
|
timeout-minutes: 60
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- xcode: "Xcode_16.4.app"
|
|
runsOn: macOS-15
|
|
name: "Xcode 16.4"
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- name: ${{ matrix.name }}
|
|
run: make test_framework_SQLCipher3Encrypted
|
|
SQLCipher4:
|
|
name: SQLCipher4
|
|
runs-on: ${{ matrix.runsOn }}
|
|
env:
|
|
DEVELOPER_DIR: "/Applications/${{ matrix.xcode }}/Contents/Developer"
|
|
timeout-minutes: 60
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- xcode: "Xcode_16.4.app"
|
|
runsOn: macOS-15
|
|
name: "Xcode 16.4"
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- name: ${{ matrix.name }}
|
|
run: make test_framework_SQLCipher4Encrypted
|
|
# CustomSQLite:
|
|
# name: CustomSQLite
|
|
# runs-on: ${{ matrix.runsOn }}
|
|
# env:
|
|
# DEVELOPER_DIR: "/Applications/${{ matrix.xcode }}/Contents/Developer"
|
|
# timeout-minutes: 60
|
|
# strategy:
|
|
# fail-fast: false
|
|
# matrix:
|
|
# include:
|
|
# - xcode: "Xcode_16.4.app"
|
|
# runsOn: macOS-15
|
|
# name: "Xcode 16.4"
|
|
# steps:
|
|
# - uses: actions/checkout@v5
|
|
# - name: ${{ matrix.name }}
|
|
# run: make test_framework_GRDBCustomSQLiteOSX
|
|
XCFramework:
|
|
name: XCFramework
|
|
runs-on: ${{ matrix.runsOn }}
|
|
env:
|
|
DEVELOPER_DIR: "/Applications/${{ matrix.xcode }}/Contents/Developer"
|
|
timeout-minutes: 60
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- xcode: "Xcode_16.4.app"
|
|
runsOn: macOS-15
|
|
name: "Xcode 16.4"
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- name: ${{ matrix.name }}
|
|
run: make test_universal_xcframework
|
|
|