-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix warnings, etc. and update README
- Loading branch information
1 parent
4f28b9c
commit bd55f1d
Showing
12 changed files
with
185 additions
and
147 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,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 |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.