Adds CircleCI (#115)
This commit is contained in:
parent
63bf71ea47
commit
0a777c2fda
1 changed files with 22 additions and 0 deletions
22
.circleci/config.yml
Normal file
22
.circleci/config.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue