DTLib.Demystifier/.github/workflows/pull-request.yaml
Ben Adams 2eb10d1403
See if can skip setting up dotnet (#157)
* Update pull-request.yaml

* Update pull-request.yaml
2021-04-23 19:56:37 +01:00

34 lines
679 B
YAML

name: Demystifier PR Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: "Build for PR"
runs-on: ${{ matrix.os }}
env:
DOTNET_NOLOGO: true
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-18.04, macOS-latest]
config: [Debug, Release]
steps:
- name: Clone source
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Get .NET information
run: dotnet --info
- name: Build
run: dotnet build -c ${{ matrix.config }}
- name: "Test"
run: dotnet test -c ${{ matrix.config }}