Skip to content

Commit

Permalink
Add CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielweyer committed Dec 29, 2017
1 parent 394cc66 commit e1886c1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .circleci/config.yml
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

0 comments on commit e1886c1

Please sign in to comment.