Skip to content

Commit

Permalink
Create dotnetCI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Coding-Enthusiast authored Feb 10, 2025
1 parent 3ba368b commit 58fff2e
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/dotnetCI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: .NET-CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
Windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build ./WatchOnlyBitcoinWallet.sln --no-restore -c Release
- name: Test
run: dotnet test ./Tests/Tests.csproj --no-build --verbosity normal -c Release

Linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build ./WatchOnlyBitcoinWallet.sln --no-restore -c Release
- name: Test
run: dotnet test ./Tests/Tests.csproj --no-build --verbosity normal -c Release

Mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build ./WatchOnlyBitcoinWallet.sln --no-restore -c Release
- name: Test
run: dotnet test ./Tests/Tests.csproj --no-build --verbosity normal -c Release

0 comments on commit 58fff2e

Please sign in to comment.