forked from pinterest/PINCache
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit 'df60b0d9c1903ca4cdb1e928b04ea1203aa28ad2'
* commit 'df60b0d9c1903ca4cdb1e928b04ea1203aa28ad2': Support Catalyst (pinterest#272) Fix the grammar in an assertion failure message (pinterest#270) Remove the unused CI directory (pinterest#265) Fix up analyze for github CI (pinterest#264) Check fileURL outside of the locked scope (pinterest#262) Optimization `PINMemoryCache` trim to date (pinterest#252) Use correct class name in NSAssert() messages (pinterest#263) Remove Danger from the project (pinterest#261) Link to master branch workflow from the CI badge Test that the "remove object" blocks are called (pinterest#258) Fix GitHub Actions CI badge Switch to GitHub Actions for CI (pinterest#259) Discrepancy between Header Comment and Implementation (pinterest#257) # Conflicts: # Makefile # PINCache.xcodeproj/project.pbxproj # Tests/PINCacheTests.m
- Loading branch information
Showing
8 changed files
with
2,632 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- 'releases/*' | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: macOS-latest | ||
strategy: | ||
matrix: | ||
platform: ['iOS Simulator,name=iPhone 8'] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Analyze and Test | ||
run: | | ||
xcodebuild clean analyze test \ | ||
-destination "platform=${{ matrix.platform }}" \ | ||
-sdk "iphonesimulator" \ | ||
-project PINCache.xcodeproj \ | ||
-scheme PINCache \ | ||
ONLY_ACTIVE_ARCH=NO \ | ||
CODE_SIGNING_REQUIRED=NO \ | ||
CLANG_ANALYZER_OUTPUT=plist-html \ | ||
CLANG_ANALYZER_OUTPUT_DIR="$(pwd)/clang" \ | ||
| xcpretty | ||
if [[ -n `find $(pwd)/clang -name "*.html"` ]] ; then rm -rf $(pwd)/clang; exit 1; fi | ||
rm -rf $(pwd)/clang | ||
cocoapods: | ||
name: CocoaPods | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Lint | ||
run: pod lib lint | ||
carthage: | ||
name: Carthage | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Update | ||
run: carthage update --no-use-binaries --no-build | ||
- name: Build | ||
run: carthage build --no-skip-current |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.