forked from blackmennewstyle/miningcore
-
Notifications
You must be signed in to change notification settings - Fork 19
30 lines (26 loc) · 782 Bytes
/
dotnet.yml
File metadata and controls
30 lines (26 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: .NET
on:
push:
branches: [ dev, blackmennewstyle ]
pull_request:
branches: [ dev, blackmennewstyle ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install Build dependencies
run: sudo apt-get install -y cmake ninja-build build-essential libssl-dev pkg-config libboost-all-dev libsodium-dev libzmq5 libgmp-dev
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore src
- name: Build
run: dotnet build --no-restore src
- name: Test
run: dotnet test --logger:"console;verbosity=detailed" --no-build --verbosity normal src