浏览代码

Added Debug build and seperate the check-abi pipeline.

Erwin de Haan 6 年之前
父节点
当前提交
3f878d63a5
共有 1 个文件被更改,包括 33 次插入1 次删除
  1. 33 1
      .drone.yml

+ 33 - 1
.drone.yml

@@ -1,5 +1,37 @@
+---
 kind: pipeline
-name: build
+name: build-debug
+
+steps:
+- name: submodules
+  image: docker:git
+  commands:
+    - git submodule update --init --recursive
+
+- name: build
+  image: microsoft/dotnet:2-sdk
+  commands:
+    - dotnet publish "Jellyfin.Server" --configuration Debug --output "../ci/ci-debug"
+
+---
+kind: pipeline
+name: build-release
+
+steps:
+- name: submodules
+  image: docker:git
+  commands:
+    - git submodule update --init --recursive
+
+- name: build
+  image: microsoft/dotnet:2-sdk
+  commands:
+    - dotnet publish "Jellyfin.Server" --configuration Release --output "../ci/ci-release"
+
+---
+
+kind: pipeline
+name: check-abi
 
 steps:
 - name: submodules