Skip to content

Finalize config update event, add hot-reloading notifications to whit… #26

Finalize config update event, add hot-reloading notifications to whit…

Finalize config update event, add hot-reloading notifications to whit… #26

Workflow file for this run

name: BitMod.Tests
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.sln -c Release -r ${{ matrix.runtime }}
- name: Upload Files
uses: actions/upload-artifact@v3
with:
name: nightly_${{ matrix.runtime }}
path: build/
test:
name: Tests
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