Beam/project.yml

146 lines
3.9 KiB
YAML
Raw Normal View History

---
2022-04-12 16:53:04 +03:00
name: ElementX
attributes:
ORGANIZATIONNAME: Element
2022-04-12 16:53:04 +03:00
fileGroups:
- project.yml
2022-04-12 16:53:04 +03:00
options:
groupSortPosition: bottom
createIntermediateGroups: true
deploymentTarget:
iOS: '16.4'
macOS: '13.3'
groupOrdering:
- order:
- ElementX
- UnitTests
- UITests
- IntegrationTests
- Tools
- pattern: ElementX
order:
- Sources
- Resources
- SupportingFiles
- pattern: Sources
order:
- Application
- UserSession
- Services
- FlowCoordinators
- Screens
- Other
- UITests
postGenCommand: cd Tools/XcodeGen && sh postGenCommand.sh
2022-04-12 16:53:04 +03:00
settings:
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED: true
ENABLE_BITCODE: false
APP_GROUP_IDENTIFIER: group.$(BASE_APP_GROUP_IDENTIFIER)
APP_NAME: ElementX
KEYCHAIN_ACCESS_GROUP_IDENTIFIER: "$(AppIdentifierPrefix)$(BASE_BUNDLE_IDENTIFIER)"
2024-09-19 08:14:56 -07:00
MARKETING_VERSION: 1.8.4
2022-11-21 19:37:13 +03:00
CURRENT_PROJECT_VERSION: 1
SUPPORTS_MACCATALYST: false
2022-04-12 16:53:04 +03:00
include:
- path: app.yml
- path: ElementX/SupportingFiles/target.yml
- path: UnitTests/SupportingFiles/target.yml
- path: PreviewTests/SupportingFiles/target.yml
- path: UITests/SupportingFiles/target.yml
- path: IntegrationTests/SupportingFiles/target.yml
- path: NSE/SupportingFiles/target.yml
# - path: NCE/SupportingFiles/target.yml (not used yet)
# - path: MyAppVariant/override.yml
2022-04-12 16:53:04 +03:00
packages:
# Element/Matrix dependencies
2022-04-12 16:53:04 +03:00
MatrixRustSDK:
2024-05-15 10:17:04 +01:00
url: https://github.com/element-hq/matrix-rust-components-swift
2024-09-24 11:33:34 +01:00
exactVersion: 1.0.52
# path: ../matrix-rust-sdk
Compound:
url: https://github.com/element-hq/compound-ios
revision: 92110afc158ac6ee7c68d5e975144bafa6c58396
# path: ../compound-ios
AnalyticsEvents:
url: https://github.com/matrix-org/matrix-analytics-events
minorVersion: 0.25.0
# path: ../matrix-analytics-events
Emojibase:
url: https://github.com/matrix-org/emojibase-bindings
minorVersion: 1.0.0
SwiftOGG:
url: https://github.com/element-hq/swift-ogg
minorVersion: 0.0.3
# path: ../swift-ogg
WysiwygComposer:
2024-04-02 12:33:52 +01:00
url: https://github.com/matrix-org/matrix-rich-text-editor-swift
2024-07-18 18:28:48 +02:00
exactVersion: 2.37.7
# path: ../matrix-rich-text-editor/platforms/ios/lib/WysiwygComposer
# External dependencies
Algorithms:
url: https://github.com/apple/swift-algorithms
minorVersion: 1.0.0
Collections:
url: https://github.com/apple/swift-collections
minorVersion: 1.0.0
DeviceKit:
url: https://github.com/devicekit/DeviceKit
minorVersion: 5.2.2
DSWaveformImage:
url: https://github.com/dmrschmidt/DSWaveformImage
exactVersion: 14.1.1
2022-04-12 16:53:04 +03:00
DTCoreText:
url: https://github.com/Cocoanetics/DTCoreText
exactVersion: 1.6.26
GZIP:
url: https://github.com/nicklockwood/GZIP
minorVersion: 1.3.0
2022-04-12 16:53:04 +03:00
KeychainAccess:
url: https://github.com/kishikawakatsumi/KeychainAccess
minorVersion: 4.2.0
2022-04-12 16:53:04 +03:00
Kingfisher:
url: https://github.com/onevcat/Kingfisher
minorVersion: 7.6.0
KZFileWatchers:
url: https://github.com/krzysztofzablocki/KZFileWatchers
branch: master
LoremSwiftum:
url: https://github.com/lukaskubanek/LoremSwiftum
minorVersion: 2.2.1
LRUCache:
url: https://github.com/nicklockwood/LRUCache
minorVersion: 1.0.4
Mapbox:
url: https://github.com/maplibre/maplibre-gl-native-distribution
minorVersion: 5.13.0
PostHog:
url: https://github.com/PostHog/posthog-ios
minorVersion: 3.2.5
2022-06-06 12:38:07 +03:00
Sentry:
url: https://github.com/getsentry/sentry-cocoa
minorVersion: 8.30.0
Screenshot tests (#130) * #9 Add snapshot testing library * #9 Create script to boot test simulators * #9 Create the UI test plan * #9 Create shared schemes for test targets * #9 Disable split view for UI tests * #9 Fix fastlane dependencies * #9 Add snapshot testing to the application * #9 assert screenshots * #9 fix swipe gestures on iPad * #9 Fix accessing items in session verification screen * #9 Workaround for flaky unit test * #9 Specify scheme for alpha build * #9 Add reference screenshots * Update python script path and check assets for png check * Update script path * Use static timezone for simulator time * Fix build after SwiftFormat * Add changelog * Upload failed screenshots artifact * Always upload artifacts * Update boot simulator script * Update simulator overridden time * Install pytz before tests * Get time from Ruby script * Disable SwiftUI animation when running UI tests * Update screenshots after animation setting * Include reference images in the artifact * Update matching precision * Update image matching precision & revert artifact content * Include Xcode result in the artifact * Update test output directory * Disable gradient on splash screen for tests * Tap next button explicitly * Wait a bit before checking alert * Wait 1 second * Run SwiftFormat on project * Ignore temporary screenshots * Fix most of the PR remarks * Fix conflicts * Bump Python version to 3 * Update reference screenshots for authentication screens * Update SwiftFormat * Fix flakey session verification test. * Update scheme. Co-authored-by: Doug <douglase@element.io>
2022-08-11 15:02:47 +03:00
SnapshotTesting:
url: https://github.com/pointfreeco/swift-snapshot-testing
2024-09-18 12:19:41 +01:00
minorVersion: 1.17.5
SwiftState:
url: https://github.com/ReactKit/SwiftState
minorVersion: 6.0.0
Version:
url: https://github.com/mxcl/Version
minorVersion: 2.0.0
2023-12-12 11:17:15 +01:00
aggregateTargets:
Periphery:
buildScripts:
- name: Scan
script: |
export PATH="$PATH:/opt/homebrew/bin"
periphery scan --format xcode
basedOnDependencyAnalysis: false