Skip to content

Commit

Permalink
CBL-4687: Add Test_CE to Xcode configuration for unit tests (#1837)
Browse files Browse the repository at this point in the history
GitHub action, "Xcode Build," builds scheme "LiteCore C++ Tests." We will build it with this new config, Test_CE, which is duplicated from Debug but has the c++ preprocessor, LITECORE_CPPTEST, defined.
  • Loading branch information
jianminzhao authored Jul 12, 2023
1 parent 9a09543 commit 627ab83
Show file tree
Hide file tree
Showing 6 changed files with 304 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/xcodebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ on:
env:
# Customize the Xcode configuration here (Release or Debug)
# NOTE: If we decide to archive the build products we should build with RelWithDebInfo instead.
# Test_CE is a dupplicate of Debug except it has the c++ define, LITECORE_CPPTEST, activated.
CONFIGURATION: Debug
CONFIGURATION_CPP: Test_CE

jobs:
build:
Expand All @@ -40,7 +42,7 @@ jobs:
project: Xcode/LiteCore.xcodeproj
scheme: LiteCore C++ Tests
destination: platform=macOS
configuration: $CONFIGURATION
configuration: $CONFIGURATION_CPP
action: build

- name: "Build C4Tests"
Expand Down
Loading

0 comments on commit 627ab83

Please sign in to comment.