-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
30 lines (28 loc) · 902 Bytes
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: 2.1
orbs:
win: circleci/[email protected]
jobs:
build:
executor:
name: win/vs2019
shell: powershell.exe
steps:
- checkout
- restore_cache:
keys:
- dotnet-packages-v1-{{ checksum "circleci-demo-windows.csproj" }}
- run:
name: "Install project dependencies"
command: dotnet.exe restore
- save_cache:
paths:
- C:\Users\circleci\.nuget\packages
key: dotnet-packages-v1-{{ checksum "circleci-demo-windows.csproj" }}
- run:
name: "Run Build step"
command: dotnet.exe publish -c Release -r win10-x64
- run:
name: "Test the executable"
command: .\bin\Release\netcoreapp2.1\win10-x64\publish\circleci-demo-windows.exe
- store_artifacts:
path: .\bin\Release\netcoreapp2.1\win10-x64\publish\circleci-demo-windows.exe