Skip to content

Commit

Permalink
Fix warnings, etc. and update README
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed Sep 21, 2023
1 parent 4f28b9c commit bd55f1d
Show file tree
Hide file tree
Showing 12 changed files with 185 additions and 147 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: build

on:
push:
pull_request:
jobs:
macos:
strategy:
fail-fast: false
matrix:
macos:
- 13
xcode:
- latest-stable
runs-on: macos-${{ matrix.macos }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build and Test
run: |
xcodebuild -scheme "GZIP" -sdk macosx clean build test -enableCodeCoverage YES -derivedDataPath Build/
cd Build/Build/ProfileData
cd $(ls -d */|head -n 1)
directory=${PWD##*/}
pathCoverage=Build/Build/ProfileData/${directory}/Coverage.profdata
cd ../../../../
xcrun llvm-cov export -format="lcov" -instr-profile $pathCoverage Build/Build/Products/Debug/GZIP.framework/GZIP > info.lcov
- name: Codecov
uses: codecov/codecov-action@v2
with:
# the token is optional for a public repo, but including it anyway
token: 1132f70a-3f8e-4448-bc3e-e564311f2ced
env_vars: MD_APPLE_SDK_ROOT,RUNNER_OS,RUNNER_ARCH
18 changes: 5 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
.DS_Store

# Xcode
Assets/
build/
html/
.build
*.pbxuser
!default.pbxuser
*.mode1v3
Expand All @@ -13,20 +16,9 @@ build/
!default.perspectivev3
xcuserdata
*.xccheckout
profile
*.moved-aside
DerivedData
*.hmap
*.ipa

# Bundler
.bundle

# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
#
# Note: if you ignore the Pods directory, make sure to uncomment
# `pod install` in .travis.yml
#
# Pods/
*.dot
.docc-build/
6 changes: 0 additions & 6 deletions .slather.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit bd55f1d

Please sign in to comment.