Просмотр исходного кода

CI: Build for Linux on Azure Pipelines

Gol-D-Ace 6 лет назад
Родитель
Сommit
f0cd1f61c4
1 измененных файлов с 18 добавлено и 0 удалено
  1. 18 0
      azure-pipelines.yml

+ 18 - 0
azure-pipelines.yml

@@ -82,3 +82,21 @@ jobs:
       pathtoPublish: './build'
       artifactName: winbuild
 
+- job: 'Build_Linux'
+  pool:
+    vmImage: 'ubuntu-16.04'
+  steps:
+  - script: git submodule update --init --recursive
+    displayName: 'Checkout Submodules'
+  - script: ./CI/install-dependencies-linux.sh
+    displayName: 'Install Dependencies'
+
+  - script: ./CI/before-script-linux.sh
+    displayName: 'CMake'
+
+  - bash: |
+      cd ./build
+      make -j4
+      cd -
+    displayName: 'Build'
+