This repository was archived by the owner on Mar 14, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated to newest cef; removed net47x support
- Loading branch information
1 parent
e65aef8
commit cc82e9d
Showing
12 changed files
with
307 additions
and
72 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,10 @@ | ||
[*.cs] | ||
|
||
# IDE0056: Use index operator | ||
csharp_style_prefer_index_operator = false:none | ||
|
||
# IDE0055: Fix formatting | ||
dotnet_diagnostic.IDE0055.severity = none | ||
|
||
# Default severity for analyzer diagnostics with category 'Style' | ||
dotnet_analyzer_diagnostic.category-Style.severity = none |
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: build & test | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
- development | ||
env: | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | ||
DOTNET_NOLOGO: 1 | ||
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
jobs: | ||
build-windows: | ||
name: build release and debug for windows | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 3.1.300 | ||
- name: build debug | ||
run: | | ||
dotnet build src/Exomia.CEF --configuration Debug --force --nologo -p:Platform=AnyCPU | ||
dotnet build src/Exomia.CEF --configuration Debug --force --nologo -p:Platform=x86 | ||
dotnet build src/Exomia.CEF --configuration Debug --force --nologo -p:Platform=x64 | ||
- name: build release | ||
run: | | ||
dotnet build src/Exomia.CEF --configuration Release --force --nologo -p:Platform=AnyCPU | ||
dotnet build src/Exomia.CEF --configuration Release --force --nologo -p:Platform=x86 | ||
dotnet build src/Exomia.CEF --configuration Release --force --nologo -p:Platform=x64 | ||
test-windows: | ||
name: test release and debug for windows | ||
needs: [build-windows] | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 3.1.300 | ||
- name: test debug | ||
run: | | ||
dotnet test tests/L0/Exomia.CEF.Tests --configuration Debug --nologo -p:Platform=AnyCPU | ||
dotnet test tests/L0/Exomia.CEF.Tests --configuration Debug --nologo -p:Platform=x86 | ||
dotnet test tests/L0/Exomia.CEF.Tests --configuration Debug --nologo -p:Platform=x64 | ||
- name: test release | ||
run: | | ||
dotnet test tests/L0/Exomia.CEF.Tests --configuration Release --nologo -p:Platform=AnyCPU | ||
dotnet test tests/L0/Exomia.CEF.Tests --configuration Release --nologo -p:Platform=x86 | ||
dotnet test tests/L0/Exomia.CEF.Tests --configuration Release --nologo -p:Platform=x64 |
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,92 @@ | ||
name: build, test & publish | ||
on: | ||
release: | ||
types: [published] | ||
env: | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | ||
DOTNET_NOLOGO: 1 | ||
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
jobs: | ||
build-windows: | ||
name: build release and debug for windows | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 3.1.300 | ||
- name: build debug | ||
run: | | ||
dotnet build src/Exomia.CEF --configuration Debug --force --nologo -p:Platform=AnyCPU | ||
dotnet build src/Exomia.CEF --configuration Debug --force --nologo -p:Platform=x86 | ||
dotnet build src/Exomia.CEF --configuration Debug --force --nologo -p:Platform=x64 | ||
- name: build release | ||
run: | | ||
dotnet build src/Exomia.CEF --configuration Release --force --nologo -p:Platform=AnyCPU | ||
dotnet build src/Exomia.CEF --configuration Release --force --nologo -p:Platform=x86 | ||
dotnet build src/Exomia.CEF --configuration Release --force --nologo -p:Platform=x64 | ||
test-windows: | ||
name: test release and debug for windows | ||
needs: [build-windows] | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 3.1.300 | ||
- name: test debug | ||
run: | | ||
dotnet test tests/L0/Exomia.CEF.Tests --configuration Debug --nologo -p:Platform=AnyCPU | ||
dotnet test tests/L0/Exomia.CEF.Tests --configuration Debug --nologo -p:Platform=x86 | ||
dotnet test tests/L0/Exomia.CEF.Tests --configuration Debug --nologo -p:Platform=x64 | ||
- name: test release | ||
run: | | ||
dotnet test tests/L0/Exomia.CEF.Tests --configuration Release --nologo -p:Platform=AnyCPU | ||
dotnet test tests/L0/Exomia.CEF.Tests --configuration Release --nologo -p:Platform=x86 | ||
dotnet test tests/L0/Exomia.CEF.Tests --configuration Release --nologo -p:Platform=x64 | ||
publish-github-windows: | ||
name: publish debug for windows on github | ||
needs: [test-windows] | ||
if: ${{ github.event_name == 'release' }} | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: extract tag version | ||
run: echo "TAG_VERSION=${GITHUB_REF#refs/tags/v*}" >> $GITHUB_ENV | ||
shell: bash | ||
- uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 3.1.301 | ||
- name: publish ${{ github.repository }} [v${{ env.TAG_VERSION }}] | ||
run: | | ||
dotnet pack --configuration Debug --verbosity m --force --nologo -p:Platform=AnyCPU -p:Version=$TAG_VERSION | ||
dotnet pack --configuration Debug --verbosity m --force --nologo -p:Platform=x86 -p:Version=$TAG_VERSION | ||
dotnet pack --configuration Debug --verbosity m --force --nologo -p:Platform=x64 -p:Version=$TAG_VERSION | ||
for f in ./*.nupkg | ||
do | ||
STATUSCODE=$(curl -sSX PUT --retry 3 -o /dev/null -w "%{http_code}" -u "${{ github.repository_owner }}:${{ github.token }}" -F package=@$f https://nuget.pkg.github.com/${{ github.repository_owner }}/) | ||
echo "[$STATUSCODE:https://nuget.pkg.github.com/${{ github.repository_owner }}/] $f" | ||
if [ "${STATUSCODE}" != 200 ] && [ "${STATUSCODE}" != 409 ]; then exit 1; fi | ||
done | ||
shell: bash | ||
working-directory: src/Exomia.CEF | ||
publish-nuget-windows: | ||
name: publish release for windows on nuget | ||
needs: [test-windows, publish-github-windows] | ||
if: ${{ github.event_name == 'release' }} | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: extract tag version | ||
run: echo "TAG_VERSION=${GITHUB_REF#refs/tags/v*}" >> $GITHUB_ENV | ||
shell: bash | ||
- uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 3.1.301 | ||
- name: publish ${{ github.repository }} [v${{ env.TAG_VERSION }}] | ||
run: | | ||
dotnet pack src/Exomia.CEF --configuration Release --verbosity m --force --nologo -p:Platform=AnyCPU -p:Version=$TAG_VERSION | ||
dotnet pack src/Exomia.CEF --configuration Release --verbosity m --force --nologo -p:Platform=x86 -p:Version=$TAG_VERSION | ||
dotnet pack src/Exomia.CEF --configuration Release --verbosity m --force --nologo -p:Platform=x64 -p:Version=$TAG_VERSION | ||
dotnet nuget push **/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.EXOMIA_NUGET_API_KEY_PUSH }} --skip-duplicate | ||
shell: bash |
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
Binary file not shown.
Oops, something went wrong.