-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1215 from ably/feature/support-net6.0
Support net6.0,net7.0 and MAUI
- Loading branch information
Showing
60 changed files
with
2,188 additions
and
1,099 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
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.
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
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,37 @@ | ||
name: "Unit and Integration Test: Linux" | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
env: | ||
DOTNET_NOLOGO: true | ||
|
||
strategy: | ||
matrix: | ||
targetframework: [ "net6.0", "net7.0" ] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: 'recursive' | ||
|
||
- name: Download dotnet framework | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
6.0.x | ||
7.0.x | ||
- name: Download dotnet build-script tools | ||
run: dotnet tool restore | ||
|
||
- name: Unit tests | ||
run: ./build.sh Test.NetStandard.Unit.WithRetry -f ${{ matrix.targetframework }} | ||
|
||
- name: Integration tests | ||
run: ./build.sh Test.NetStandard.Integration.WithRetry -f ${{ matrix.targetframework }} |
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,39 @@ | ||
name: "Unit and Integration Test: macOS (Xamarin)" | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
check: | ||
runs-on: macos-latest | ||
env: | ||
DOTNET_NOLOGO: true | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: 'recursive' | ||
|
||
- name: Download dotnet framework | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
3.1.x | ||
- name: Download dotnet build-script tools | ||
run: dotnet tool restore | ||
|
||
- name: Install mono | ||
run: | | ||
./tools/mono-install.sh | ||
- name: Build Xamarin projects | ||
run: ./build.sh Build.Xamarin | ||
|
||
- name: Run Unit tests using mono | ||
run: ./build.sh Test.NetFramework.Unit.WithRetry | ||
|
||
- name: Run Integration tests using mono | ||
run: ./build.sh Test.NetFramework.Integration.WithRetry |
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,37 @@ | ||
name: "Unit and Integration Test: macOS" | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
check: | ||
runs-on: macos-latest | ||
env: | ||
DOTNET_NOLOGO: true | ||
|
||
strategy: | ||
matrix: | ||
targetframework: [ "net6.0", "net7.0" ] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: 'recursive' | ||
|
||
- name: Download dotnet framework | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
6.0.x | ||
7.0.x | ||
- name: Download dotnet build-script tools | ||
run: dotnet tool restore | ||
|
||
- name: Unit tests | ||
run: ./build.sh Test.NetStandard.Unit.WithRetry -f ${{ matrix.targetframework }} | ||
|
||
- name: Integration tests | ||
run: ./build.sh Test.NetStandard.Integration.WithRetry -f ${{ matrix.targetframework }} |
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: "Unit and Integration Test: Windows (NetFramework)" | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
check: | ||
runs-on: windows-latest | ||
env: | ||
DOTNET_NOLOGO: true | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: 'recursive' | ||
|
||
- name: Download dotnet build-script tools | ||
run: dotnet tool restore | ||
|
||
- name: Unit tests | ||
run: ./build.cmd Test.NetFramework.Unit.WithRetry | ||
|
||
- name: Integration tests | ||
run: ./build.cmd Test.NetFramework.Integration.WithRetry |
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,37 @@ | ||
name: "Unit and Integration Test: Windows" | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
check: | ||
runs-on: windows-latest | ||
env: | ||
DOTNET_NOLOGO: true | ||
|
||
strategy: | ||
matrix: | ||
targetframework: [ "net6.0", "net7.0" ] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: 'recursive' | ||
|
||
- name: Download framework | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
6.0.x | ||
7.0.x | ||
- name: Download dotnet build-script tools | ||
run: dotnet tool restore | ||
|
||
- name: Unit tests | ||
run: ./build.cmd Test.NetStandard.Unit.WithRetry -f ${{ matrix.targetframework }} | ||
|
||
- name: Integration tests | ||
run: ./build.cmd Test.NetStandard.Integration.WithRetry -f ${{ matrix.targetframework }} |
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
Oops, something went wrong.