Skip to content

Commit

Permalink
Merge pull request #157: GitHub Actions Workflow
Browse files Browse the repository at this point in the history
Starting the creation of a Github Actions CI workflow, specifically including Linux.
  • Loading branch information
derrickstolee authored Aug 7, 2020
2 parents 2928312 + 44651b8 commit 33b45a3
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: GCM-Core

on:
push:
branches: [ master, linux ]
pull_request:
branches: [ master, linux ]

jobs:
validate_gcm:
name: "CI"

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-16.04, ubuntu-18.04, ubuntu-20.04, windows-2019, macos-10.15]

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Indicate full history so Nerdbank.GitVersioning works.

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.302

- name: Install dependencies
run: dotnet restore

- name: Build
run: dotnet build --configuration Release --no-restore

- name: Test
run: dotnet test --no-restore --verbosity normal

0 comments on commit 33b45a3

Please sign in to comment.