element-ios/Targets/ApplicationTests.yml
2020-12-20 23:03:20 +01:00

59 lines
No EOL
1.7 KiB
YAML

name: RiotTests
schemes:
RiotTests:
analyze:
config: Debug
archive:
config: Release
build:
targets:
RiotTests:
- running
- testing
- profiling
- analyzing
- archiving
profile:
config: Release
run:
config: Debug
disableMainThreadChecker: true
test:
config: Debug
disableMainThreadChecker: true
targets:
- RiotTests
targets:
RiotTests:
dependencies:
- target: Riot
platform: iOS
postbuildScripts:
- name: Embed Precompiled Frameworks
runOnlyWhenInstalling: false
script: echo "Skipping, nothing to be embedded."
shell: /bin/sh
settings:
groups:
- appDefault
base:
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: $(inherited)
BUNDLE_LOADER: $(TEST_HOST)
CLANG_ENABLE_MODULES: YES
CODE_SIGN_STYLE: Manual
FRAMEWORK_SEARCH_PATHS: $(SDKROOT)/Developer/Library/Frameworks $(inherited)
INFOPLIST_FILE: RiotTests/Info.plist
LD_RUNPATH_SEARCH_PATHS: $(inherited) @executable_path/Frameworks @loader_path/Frameworks
PRODUCT_BUNDLE_IDENTIFIER: org.matrix.$(PRODUCT_NAME:rfc1034identifier)
PRODUCT_NAME: RiotTests
SWIFT_OBJC_BRIDGING_HEADER: RiotTests/RiotTests-Bridging-Header.h
TEST_HOST: $(BUILT_PRODUCTS_DIR)/Riot.app/Riot
configs:
Debug:
GCC_PREPROCESSOR_DEFINITIONS: DEBUG=1 $(inherited)
SWIFT_OPTIMIZATION_LEVEL: -Onone
Release:
PROVISIONING_PROFILE: $(RIOT_PROVISIONING_PROFILE)
PROVISIONING_PROFILE_SPECIFIER: $(RIOT_PROVISIONING_PROFILE_SPECIFIER)
sources: [../RiotTests]
type: bundle.unit-test