-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
394cc66
commit e1886c1
Showing
1 changed file
with
22 additions
and
0 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,22 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
- image: microsoft/dotnet:2.0.4-sdk-2.1.3-stretch | ||
steps: | ||
- checkout | ||
# `dotnet-install.sh` is available at: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script | ||
# `Cake.dll` is targeting `.NET Core` `1.0.3`, so we need to install the latest `1.0.x` runtime | ||
# The runtime is required to run a `.NET Core` application, it's part of the `SDK` | ||
# https://github.com/dotnet/core/blob/master/release-notes/download-archive.md | ||
- run: export DOTNET_RUNTIME_INSTALL_DIR="$PWD/.dotnetcli" | ||
- run: tools/dotnet-install.sh --shared-runtime --version 1.0.8 --install-dir "$DOTNET_RUNTIME_INSTALL_DIR" | ||
# Install Mono | ||
- run: sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF | ||
- run: echo "deb http://download.mono-project.com/repo/debian stretch main" | sudo tee /etc/apt/sources.list.d/mono-official.list | ||
- run: sudo apt-get update | ||
- run: sudo apt-get install mono-runtime | ||
# Build | ||
- run: | ||
name: Build | ||
command: ./build.sh --pack |