Skip to content

Commit 34134f0

Browse files
authored
Switching out AppVeyor for GH workflow (#181)
* Switching out AppVeyor for GH workflow * Running workflow on linux as well. building wth release config
1 parent 280b6dc commit 34134f0

File tree

2 files changed

+33
-23
lines changed

2 files changed

+33
-23
lines changed

.github/workflows/pr-build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: PR build workflow
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
name: build
11+
runs-on: ${{ matrix.os }}
12+
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
os: [windows-latest,ubuntu-latest]
17+
version: [net452,netcoreapp2.0]
18+
exclude:
19+
- os: ubuntu-latest
20+
version: net452
21+
22+
steps:
23+
- name: Checkout repository
24+
- uses: actions/checkout@v2
25+
26+
- name: Install dependencies
27+
run: dotnet restore sdk/AWSXRayRecorder.sln --locked-mode
28+
29+
- name: Build solution
30+
run: dotnet build sdk/AWSXRayRecorder.sln --configuration Release --no-restore
31+
32+
- name: Run tests
33+
run: dotnet test sdk/test/UnitTests/bin/Release/${{matrix.version}}/AWSXRayRecorder.UnitTests.dll

appveyor.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)