From 2ac767cf06695f344ce8fa79ca42a8744c7a5896 Mon Sep 17 00:00:00 2001 From: Jason Dove Date: Wed, 10 Feb 2021 16:23:02 -0600 Subject: [PATCH] test build action --- .github/ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/ci.yml diff --git a/.github/ci.yml b/.github/ci.yml new file mode 100644 index 000000000..8b095eea6 --- /dev/null +++ b/.github/ci.yml @@ -0,0 +1,31 @@ +name: Build +on: + pull_request: + push: + branches: + - main + - develop +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ windows-latest, ubuntu-latest, macos-latest ] + steps: + - name: Get the sources + uses: actions/checkout@v2 + + - name: Setup .NET Core + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 5.0.x + + - name: Install dependencies + run: dotnet restore + + - name: Build + run: dotnet build --configuration Release --no-restore + + - name: Test + run: dotnet test --no-restore --verbosity normal