Skip to content

Commit

Permalink
ci: fix app size stats (#251)
Browse files Browse the repository at this point in the history
* try to fix app size ci

* always upload log

* fix

* fix(ci): lint will try to build folder

* use unique name for xcodebuild.log artifact name
  • Loading branch information
rinsuki authored Feb 7, 2024
1 parent 267f7d6 commit 7ab72cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build_stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@ jobs:
xcodebuild \
-workspace iMast.xcworkspace -scheme "iMast iOS" -destination "generic/platform=iOS" -configuration Release \
build -derivedDataPath ./build \
CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="" | xcpretty -c
CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="" AD_HOC_CODE_SIGNING_ALLOWED=YES | tee ./xcodebuild.log | xcpretty -c
- uses: actions/upload-artifact@v4
if: always()
with:
name: xcodebuild.Xcode.${{ matrix.xcode }}.${{ matrix.machine }}.log
path: ./xcodebuild.log
- name: Export Stats
run: python3 .github/export_build_stats.py ./build Release iphoneos | tee stats.json
- name: Upload Stats
Expand Down
1 change: 1 addition & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ disabled_rules:
excluded:
- Pods
- vendor
- build

force_cast: warning
force_try: warning
Expand Down

0 comments on commit 7ab72cb

Please sign in to comment.