Skip to content

Commit

Permalink
Add GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
devlead committed Jul 8, 2020
1 parent a576581 commit 1e26a31
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build
on:
pull_request:
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- name: Get the sources
uses: actions/checkout@v2

- name: Fetch all history for all tags and branches
run: git fetch --prune --unshallow

- name: Install .NET Core SDK 3.1.301
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.301'

- name: Build KuduSync.NET
run: |
dotnet build
- name: Test
if: matrix.os == 'windows-latest'
shell: cmd
run: .\test.cmd

0 comments on commit 1e26a31

Please sign in to comment.