Skip to content

Commit

Permalink
Create dotnetcore.yml (stratisproject#46)
Browse files Browse the repository at this point in the history
* Create dotnetcore.yml

* Update Obsidian.ObsidianD.csproj

* Update README.md

* Update README.md
  • Loading branch information
dangershony authored Nov 16, 2019
1 parent fbef048 commit 14c0d21
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: .NET Core

on: pull_request

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 2.2.108
- name: Build Solution
run: dotnet build **/Obsidian-All.sln --configuration Release
- name: Test solution
run: dotnet test **/Obsidian-All.sln
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
| :---- | :------ | :---- |
| [![Build Status](https://dev.azure.com/StratisProject/StratisBitcoinFullNode/_apis/build/status/HostedWindowsContainer-CI)](https://dev.azure.com/StratisProject/StratisBitcoinFullNode/_build/latest?definitionId=4) | [![Build Status](https://dev.azure.com/StratisProject/StratisBitcoinFullNode/_apis/build/status/HostedmacOS-CI)](https://dev.azure.com/StratisProject/StratisBitcoinFullNode/_build/latest?definitionId=6) | [![Build Status](https://dev.azure.com/StratisProject/StratisBitcoinFullNode/_apis/build/status/HostedUbuntu1604-CI)](https://dev.azure.com/StratisProject/StratisBitcoinFullNode/_build/latest?definitionId=5)


[![Actions Status](https://github.com/obsidianproject/Obsidian-StratisNode/workflows/.NET%20Core/badge.svg)](https://github.com/obsidianproject/Obsidian-StratisNode/actions)


Stratis Bitcoin
===============

Expand Down
2 changes: 1 addition & 1 deletion src/Obsidian.ObsidianD/Obsidian.ObsidianD.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>netcoreapp2.2</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 14c0d21

Please sign in to comment.