Skip to content

Commit

Permalink
Swap over to using github actions for compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
glennawatson committed Sep 15, 2020
1 parent fb578dd commit 68d39ec
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 23 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: .NET Core Desktop

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
configuration: Release

jobs:
build:

runs-on: windows-latest

steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Install .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x

- name: Install Latest NuGet
uses: nuget/setup-nuget@v1
with:
nuget-api-key: ${{ secrets.NuGetAPIKey }}
nuget-version: '5.x'

- name: NBGV
uses: dotnet/nbgv@master
with:
setAllVars: true

- name: Install Dependencies
run: dotnet restore
working-directory: src

- name: Add MSBuild to PATH
uses: microsoft/[email protected]

- name: Build
run: msbuild /t:build,pack /maxcpucount /p:NoPackageAnalysis=true /verbosity:minimal /p:Configuration=${{ env.configuration }}
working-directory: src
23 changes: 0 additions & 23 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit 68d39ec

Please sign in to comment.