Merge pull request #216 from bittiez/dev #1116
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build-Test | |
on: | |
push: | |
branches: "*" | |
paths-ignore: | |
- '**/build-release.yml' | |
- 'appveyor.yml' | |
- '**/README.md' | |
pull_request: | |
branches: "*" | |
paths-ignore: | |
- '**/build-release.yml' | |
- 'appveyor.yml' | |
- '**/README.md' | |
env: | |
DOTNET_NOLOGO: false | |
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | |
NUGET_XMLDOC_MODE: skip | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ macos-latest, ubuntu-latest, windows-latest ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get submodules | |
run: | | |
git config --global url."https://".insteadOf git:// | |
git submodule update --init --recursive | |
- name: Setup .NET 7 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 7.0.x | |
include-prerelease: true | |
- name: Restore | |
run: dotnet restore | |
- name: Build | |
run: dotnet build -c Release | |
- name: Test | |
run: dotnet test --verbosity normal | |