forked from aws/aws-xray-sdk-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switching out AppVeyor for GH workflow (aws#181)
* Switching out AppVeyor for GH workflow * Running workflow on linux as well. building wth release config
- Loading branch information
Showing
2 changed files
with
33 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.