Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x-plat build #30

Merged
merged 1 commit into from
Jun 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
version: '{build}'
image:
- Visual Studio 2017
- Ubuntu
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
build_script:
- cmd: ./build.cmd
- sh: ./build.sh
test: off
artifacts:
- path: ./**/*.nupkg
Expand Down
19 changes: 19 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -euo pipefail

echo "${0##*/}": Building...
dotnet build --configuration Release

echo "${0##*/}": Testing...
dotnet test ./BullseyeTests/BullseyeTests.csproj --configuration Release --no-build

echo "${0##*/}": Smoke testing...
trap `set +x` EXIT
set -x
dotnet run -c Release --project BullseyeSmokeTester -- --help
dotnet run -c Release --project BullseyeSmokeTester -- --list-targets
dotnet run -c Release --project BullseyeSmokeTester -- --list-dependencies
dotnet run -c Release --project BullseyeSmokeTester --
dotnet run -c Release --project BullseyeSmokeTester -- --dry-run
dotnet run -c Release --project BullseyeSmokeTester -- --skip-dependencies
dotnet run -c Release --project BullseyeSmokeTester -- --dry-run --skip-dependencies