添加 '.circleci/config.yml'
parent
fa3825cfde
commit
82ea1823cc
|
|
@ -0,0 +1,23 @@
|
||||||
|
version: 2.1
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
docker:
|
||||||
|
- image: mcr.microsoft.com/dotnet/sdk:6.0
|
||||||
|
|
||||||
|
working_directory: ~/repo
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Install dependencies
|
||||||
|
command: dotnet restore
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Build
|
||||||
|
command: dotnet build
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Test
|
||||||
|
command: dotnet test
|
||||||
Loading…
Reference in New Issue