-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
240 additions
and
141 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,12 @@ | ||
#!/usr/bin/awk -f | ||
BEGIN { FS=":"; errCode=0; } | ||
{ | ||
if(match($0,/^.+:[0-9]+:[0-9]+: error: /)) { | ||
message=substr($0,RSTART+RLENGTH); file=$1; gsub("^"prefix"/","",file); | ||
printf("::error file=%s,line=%s,col=%s::%s\n", file, $2, $3, message); | ||
errCode=1; | ||
} else { | ||
print; | ||
} | ||
} | ||
END { exit errCode; } |
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,16 @@ | ||
#!/usr/bin/awk -f | ||
BEGIN { FS=":"; errCode=0; } | ||
{ | ||
if(match($0,/^.+:[0-9]+:[0-9]+: error: /)) { | ||
message=substr($0,RSTART+RLENGTH); file=$1; gsub("^"prefix"/","",file); | ||
printf("::error file=%s,line=%s,col=%s::%s\n", file, $2, $3, message); | ||
errCode=1; | ||
} else if(match($0,/^.+:[0-9]+: error: /)) { | ||
message=substr($0,RSTART+RLENGTH); file=$1; gsub("^"prefix"/","",file); | ||
printf("::error file=%s,line=%s::%s\n", file, $2, message); | ||
errCode=1; | ||
} else { | ||
print; | ||
} | ||
} | ||
END { exit errCode; } |
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,34 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ '*' ] | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Set up Environment | ||
run: | | ||
workflowsPath=${{ github.workspace }}/.github/workflows | ||
echo "::set-env name=workflows_path::$workflowsPath" | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Build | ||
run: | | ||
make build -C ${{ github.workspace }} 2>&1 \ | ||
| ${{ env.workflows_path }}/ci-step-build.awk \ | ||
-v prefix=${{ github.workspace }} | ||
- name: Run Tests | ||
run: | | ||
make test -C ${{ github.workspace }} 2>&1 \ | ||
| ${{ env.workflows_path }}/ci-step-test.awk \ | ||
-v prefix=${{ github.workspace }} | ||
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,26 @@ | ||
name: Docs | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
publish-docs: | ||
name: Publish Docs | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Set up Environment | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Action" | ||
gem install bundler | ||
gem install jazzy --no-document | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: 'gh-pages' | ||
|
||
- name: Build Docs | ||
run: make update-docs -C ${{ github.workspace }} |
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
129 changes: 0 additions & 129 deletions
129
.swiftpm/xcode/xcshareddata/xcschemes/Entwine-Package.xcscheme
This file was deleted.
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
Oops, something went wrong.