Add FreeBSD leg to new official build system (dotnet/corefx#34148)
authorSantiago Fernandez Madero <safern@microsoft.com>
Tue, 18 Dec 2018 22:11:18 +0000 (14:11 -0800)
committerGitHub <noreply@github.com>
Tue, 18 Dec 2018 22:11:18 +0000 (14:11 -0800)
Commit migrated from https://github.com/dotnet/corefx/commit/28fc5b7c6afdde9236bb0b0ddd6c8354006b70c6

eng/pipelines/libraries/.azure-ci.yml
eng/pipelines/libraries/freebsd.yml [new file with mode: 0644]

index ca6889c..141413a 100644 (file)
@@ -46,6 +46,9 @@ jobs:
     # Redhat6 leg is only for official builds
     - template: /eng/pipelines/redhat6.yml
 
+    # FreeBSD leg is only for official builds
+    - template: /eng/pipelines/freebsd.yml
+
     # Publish step
     - template: /eng/pipelines/publish.yml
       parameters:
@@ -56,4 +59,5 @@ jobs:
           - LinuxTest
           - LinuxNoTest
           - MacOS
-          - RedHat6
\ No newline at end of file
+          - RedHat6
+          - FreeBSD
diff --git a/eng/pipelines/libraries/freebsd.yml b/eng/pipelines/libraries/freebsd.yml
new file mode 100644 (file)
index 0000000..be8d4ea
--- /dev/null
@@ -0,0 +1,27 @@
+# FreeBSD leg. Only for used in Official Builds
+
+jobs:
+- template: corefx-base.yml
+  parameters:
+    isOfficialBuild: true
+    targetOS: FreeBSD
+    jobs:
+
+    - job: FreeBSD
+      strategy:
+        matrix:
+          x64_Release:
+            _configuration: Release
+            _architecture: x64
+            _framework: netcoreapp
+            _buildScriptPrefix: 'DotNetCoreSdkDir=/usr/local/dotnet/ DotNetRoot=/usr/local/dotnet/ '
+            
+      pool:
+        name: dnceng-freebsd-internal
+
+      buildScriptPrefix: $(_buildScriptPrefix)
+      submitToHelix: false
+
+      variables:
+        - _skipTests: true
+        - _outerloop: true # Only runs in official builds