Skip to content

Commit

Permalink
添加 .drone.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YaKun9 committed Aug 7, 2024
1 parent a4111b0 commit 1349032
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
kind: pipeline
type: docker
name: build

steps:
- name: restore
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
- cd Backend
- dotnet restore

- name: build
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
- cd Backend
- dotnet build --configuration Release

- name: test
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
- cd Backend
- dotnet test --no-build --verbosity normal

0 comments on commit 1349032

Please sign in to comment.