Gitea CI on grogu (kof-macos-arm64): Guards B and C from guard.yml (the de-paywall marker and if-false wrap in computeState(), no conflict markers), an unsigned Release build, and build-for-testing of the Test scheme. The tests (Guard A) are not run on CI: the runner has no GUI session for testmanagerd; docs/contributing.md documents running scripts/run_tests.sh locally before merging. config/test-base.xcconfig takes the unit-test-only Xcode 27 fix from PR #1 (test target 12.0, deprecation group downgraded, every other warning still an error); the shipping app keeps 10.13. The .github workflows stay for the GitHub mirror. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
991 B
Plaintext
17 lines
991 B
Plaintext
// docs: https://help.apple.com/xcode/mac/11.4/#/itcaec37c2a6
|
|
|
|
SWIFT_VERSION = 5.8
|
|
SWIFT_TREAT_WARNINGS_AS_ERRORS = NO // replaced by the explicit flags below so the deprecation group can be downgraded after them
|
|
// Raising the unit-test target to 12.0 turns uses of APIs deprecated in macOS 11/12 (kept for the 10.13 app) into warnings; only that
|
|
// group is downgraded here (after -warnings-as-errors, which would otherwise win); every other warning stays an error.
|
|
OTHER_SWIFT_FLAGS = $(inherited) -warnings-as-errors -Wwarning DeprecatedDeclaration
|
|
MACOSX_DEPLOYMENT_TARGET = 12.0 // unit-tests only: Xcode 27 supports 12.0+; the shipping app keeps 10.13 in base.xcconfig
|
|
CODE_SIGNING_REQUIRED = NO // no need for codesign
|
|
CODE_SIGNING_ALLOWED = NO // no need for codesign
|
|
ONLY_ACTIVE_ARCH = YES // only need to run on the host machine
|
|
ENABLE_BITCODE = NO
|
|
GCC_GENERATE_TEST_COVERAGE_FILES = NO
|
|
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO
|
|
TEST_ATTACHMENT_LOGGING = NO
|
|
DEAD_CODE_STRIPPING = YES
|