File tree 1 file changed +29
-0
lines changed
1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 74
74
.build/debug/TPPDFPackageTests.xctest/Contents/MacOS/TPPDFPackageTests \
75
75
--instr-profile .build/debug/codecov/default.profdata \
76
76
--format="lcov" > coverage.lcov
77
+
78
+ carthage-integration :
79
+ name : Test Carthage Integration
80
+ runs-on : macos-14
81
+ timeout-minutes : 30
82
+ defaults :
83
+ run :
84
+ working-directory : Example iOS-Carthage
85
+ steps :
86
+ - name : Checkout the repository
87
+ uses : actions/checkout@v4
88
+
89
+ - name : Patch Cartfile to pull request branch
90
+ if : github.event_name == 'pull_request'
91
+ run : |
92
+ ESCAPED_REF_NAME=$(echo "${{ github.ref }}" | sed 's/[\/&]/\\&/g')
93
+ sed -i.bak "s/main/$ESCAPED_REF_NAME/g" Cartfile
94
+
95
+ - name : Carthage Update
96
+ run : carthage update
97
+
98
+ - name : Build for iOS
99
+ run : |
100
+ set -o pipefail && \
101
+ env NSUnbufferedIO=YES \
102
+ xcodebuild \
103
+ -project Example_iOS-Carthage.xcodeproj \
104
+ CODE_SIGNING_ALLOWED="NO" \
105
+ build 2>&1 | tee test.log | xcbeautify
You can’t perform that action at this time.
0 commit comments