-
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
1 parent
508b9c0
commit 0558bdb
Showing
1 changed file
with
24 additions
and
71 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 |
---|---|---|
|
@@ -20,82 +20,35 @@ env: | |
DOTNET_CLI_TELEMETRY_OPTOUT: true # Disable sending .NET CLI telemetry | ||
|
||
jobs: | ||
Windows-Build: | ||
runs-on: windows-latest | ||
Build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [windows-latest, ubuntu-latest, macos-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Node.js v16 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16.x' | ||
|
||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v2 | ||
with: | ||
dotnet-version: '7.0.x' | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Restore dependencies | ||
run: dotnet restore Benchmark.csproj | ||
|
||
- name: Build Proj | ||
run: dotnet build Benchmark.csproj -c Release -f net7.0 | ||
|
||
- name: Build sln | ||
run: dotnet build Benchmark.sln -c Release -f net7.0 | ||
- name: Install Node.js v16 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16.x' | ||
|
||
Ubuntu-Build: | ||
runs-on: ubuntu-latest | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v2 | ||
with: | ||
dotnet-version: '7.0.x' | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Node.js v16 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16.x' | ||
|
||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v2 | ||
with: | ||
dotnet-version: '7.0.x' | ||
|
||
- name: Restore dependencies | ||
run: dotnet restore Benchmark.csproj | ||
|
||
- name: Build Proj | ||
run: dotnet build Benchmark.csproj -c Release -f net7.0 | ||
|
||
- name: Build sln | ||
run: dotnet build Benchmark.sln -c Release -f net7.0 | ||
- name: Restore dependencies | ||
run: dotnet restore Benchmark.csproj | ||
|
||
MacOS-Build: | ||
runs-on: macos-latest | ||
- name: Build Proj | ||
run: dotnet build Benchmark.csproj -c Release -f net7.0 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Node.js v16 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16.x' | ||
|
||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v2 | ||
with: | ||
dotnet-version: '7.0.x' | ||
- name: Build sln | ||
run: dotnet build Benchmark.sln -c Release -f net7.0 | ||
|
||
- name: Restore dependencies | ||
run: dotnet restore Benchmark.csproj | ||
|
||
- name: Build Proj | ||
run: dotnet build Benchmark.csproj -c Release -f net7.0 | ||
|
||
- name: Build sln | ||
run: dotnet build Benchmark.sln -c Release -f net7.0 | ||
|
||
- name: Create Release | ||
uses: ncipollo/[email protected] | ||
with: | ||
tag: v1.0.1 | ||
- name: Create Release | ||
uses: ncipollo/[email protected] | ||
with: | ||
tag: v1.1.0 |