Skip to content

Commit

Permalink
Switching out AppVeyor for GH workflow (aws#181)
Browse files Browse the repository at this point in the history
* Switching out AppVeyor for GH workflow

* Running workflow on linux as well. building wth release config
  • Loading branch information
srprash authored Feb 18, 2021
1 parent 280b6dc commit 34134f0
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 23 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: PR build workflow

on:
pull_request:
branches:
- master

jobs:
build:
name: build
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [windows-latest,ubuntu-latest]
version: [net452,netcoreapp2.0]
exclude:
- os: ubuntu-latest
version: net452

steps:
- name: Checkout repository
- uses: actions/checkout@v2

- name: Install dependencies
run: dotnet restore sdk/AWSXRayRecorder.sln --locked-mode

- name: Build solution
run: dotnet build sdk/AWSXRayRecorder.sln --configuration Release --no-restore

- name: Run tests
run: dotnet test sdk/test/UnitTests/bin/Release/${{matrix.version}}/AWSXRayRecorder.UnitTests.dll
23 changes: 0 additions & 23 deletions appveyor.yml

This file was deleted.

0 comments on commit 34134f0

Please sign in to comment.