mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
New Makefile target test_install_GRDB_CocoaPods
This commit is contained in:
1 parent
06150b5e58
commit
fa396a2d86
4 files changed
+31
-21
No files matched your search
+11
-2
@@ -128,15 +128,24 @@ jobs:
|
||||
- TID=Manual Install (GRDBCipher, Xcode 9.4)
|
||||
script: make test_install_GRDBCipher
|
||||
|
||||
# Cocoapods Lint (Xcode 9.4)
|
||||
# CocoaPods Lint (Xcode 9.4)
|
||||
- stage: Test Installation
|
||||
osx_image: xcode9.4
|
||||
install:
|
||||
- gem install cocoapods # Since Travis is not always on latest version
|
||||
env:
|
||||
- TID=Cocoapods (Xcode 9.4)
|
||||
- TID=CocoaPods Lint (Xcode 9.4)
|
||||
script: make test_CocoaPodsLint
|
||||
|
||||
# CocoaPods Install (Xcode 9.4)
|
||||
- stage: Test Installation
|
||||
osx_image: xcode9.4
|
||||
install:
|
||||
- gem install cocoapods # Since Travis is not always on latest version
|
||||
env:
|
||||
- TID=`CocoaPods GRDB (Xcode 9.4)
|
||||
script: make test_install_GRDB_CocoaPods
|
||||
|
||||
# SPM Install (Xcode 9.4)
|
||||
- stage: Test Installation
|
||||
osx_image: xcode9.4
|
||||
|
||||
@@ -92,7 +92,7 @@ test_framework_darwin: test_framework_GRDB test_framework_GRDBCustom test_framew
|
||||
test_framework_GRDB: test_framework_GRDBOSX test_framework_GRDBWatchOS test_framework_GRDBiOS
|
||||
test_framework_GRDBCustom: test_framework_GRDBCustomSQLiteOSX test_framework_GRDBCustomSQLiteiOS
|
||||
test_framework_GRDBCipher: test_framework_GRDBCipherOSX test_framework_GRDBCipheriOS
|
||||
test_install: test_install_manual test_install_GRDBCipher test_install_SPM test_CocoaPodsLint
|
||||
test_install: test_install_manual test_install_GRDBCipher test_install_SPM test_install_GRDB_CocoaPods test_CocoaPodsLint
|
||||
|
||||
test_framework_GRDBOSX:
|
||||
$(XCODEBUILD) \
|
||||
@@ -213,6 +213,25 @@ test_install_SPM:
|
||||
./.build/debug/SPM && \
|
||||
$(SWIFT) package unedit --force GRDB
|
||||
|
||||
test_install_GRDB_CocoaPods:
|
||||
ifdef POD
|
||||
cd Tests/CocoaPods/GRDBiOS && \
|
||||
rm -rf iOS.xcworkspace && \
|
||||
rm -rf Pods && \
|
||||
rm -rf Podfile.lock && \
|
||||
$(POD) install && \
|
||||
$(XCODEBUILD) \
|
||||
-workspace iOS.xcworkspace \
|
||||
-scheme iOS \
|
||||
-configuration Release \
|
||||
-destination $(MAX_IOS_DESTINATION) \
|
||||
clean build \
|
||||
$(XCPRETTY)
|
||||
else
|
||||
@echo CocoaPods must be installed for test_install_GRDB_CocoaPods
|
||||
@exit 1
|
||||
endif
|
||||
|
||||
test_CocoaPodsLint:
|
||||
ifdef POD
|
||||
$(POD) lib lint --allow-warnings
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Workspace
|
||||
version = "1.0">
|
||||
<FileRef
|
||||
location = "group:iOS.xcodeproj">
|
||||
</FileRef>
|
||||
<FileRef
|
||||
location = "group:Pods/Pods.xcodeproj">
|
||||
</FileRef>
|
||||
</Workspace>
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>IDEDidComputeMac32BitWarning</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in new issue
Block a user