Adds CircleCI (#115)

This commit is contained in:
Kamron Batman 2020-04-26 22:27:33 -07:00 • committed by GitHub
parent 63bf71ea47
commit 0a777c2fda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

22
.circleci/config.yml Normal file
View file

@ -0,0 +1,22 @@
version: 2.1
jobs:
build:
description: Build application
docker:
- image: mcr.microsoft.com/dotnet/core/sdk:3.1-buster
working_directory: /mnt/ramdisk
steps:
- checkout
- restore_cache:
keys:
- dotnet-packages-v1-{{ checksum "Projects/Server/Server.csproj" }}-{{ checksum "Projects/Scripts/Scripts.csproj" }}
- run:
name: Install ModernUO dependencies
command: dotnet restore
- save_cache:
paths:
- ~/.nuget/packages
key: dotnet-packages-v1-{{ checksum "Projects/Server/Server.csproj" }}-{{ checksum "Projects/Scripts/Scripts.csproj" }}
- run:
name: Building ModernUO for Linux (Debug)
command: dotnet build -c Debug /p:PublishProfile=Linux