forked from megaease/easeagent-sdk-net
-
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.
- Loading branch information
Showing
3 changed files
with
60 additions
and
0 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,46 @@ | ||
name: build sdk | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
linux-build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: '6.0.x' | ||
|
||
- name: Install paket | ||
run: dotnet tool install paket --tool-path .paket | ||
|
||
- name: Build solution | ||
run: bash ./scripts/ci.sh | ||
|
||
windows-build: | ||
runs-on: windows-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: '6.0.x' | ||
|
||
- name: Install paket | ||
run: dotnet tool install paket --tool-path .paket | ||
|
||
- name: Build solution | ||
run: | | ||
./scripts/ci.bat |
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,7 @@ | ||
dotnet tool restore | ||
dotnet paket install | ||
dotnet restore Src | ||
dotnet restore Tests | ||
dotnet restore Examples/aspnetcore/common | ||
dotnet restore Examples/aspnetcore/backend | ||
dotnet restore Examples/aspnetcore/frontend |
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,7 @@ | ||
dotnet tool restore | ||
dotnet paket install | ||
dotnet restore Src | ||
dotnet restore Tests | ||
dotnet restore Examples/aspnetcore/common | ||
dotnet restore Examples/aspnetcore/backend | ||
dotnet restore Examples/aspnetcore/frontend |