Skip to content

Modify command output in bitmod_provision, add new solution & CI to e… #32

Modify command output in bitmod_provision, add new solution & CI to e…

Modify command output in bitmod_provision, add new solution & CI to e… #32

Workflow file for this run

name: BitMod.Nightlies
on: [push, pull_request]
jobs:
build:
name: Build Nightlies
needs: [test]
runs-on: ubuntu-latest
strategy:
matrix:
runtime: [ 'win-x64', 'win-x86', 'linux-x64', linux-musl-x64 ]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
dotnet-quality: 'ga'
- name: Build ${{ matrix.runtime }}
run: dotnet publish BitMod.Stable.sln -c Release -r ${{ matrix.runtime }}
- name: Upload Files
uses: actions/upload-artifact@v3
with:
name: nightly-${{ matrix.runtime }}
path: build/
test:
name: Test Nightlies
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
dotnet-quality: 'ga'
- name: Install dependencies
run: dotnet restore BitMod.sln
- name: Build
run: dotnet build tests/BitMod.Tests --framework net6.0 --configuration Release --no-restore
- name: Test
run: dotnet test tests/BitMod.Tests --framework net6.0 --configuration Release --no-build --no-restore --verbosity normal