From dd850c73f1f39e92ec057de67d22254b74993b3b Mon Sep 17 00:00:00 2001 From: "Brett V. Forsgren" Date: Wed, 21 Oct 2020 10:57:01 -0700 Subject: [PATCH 1/4] add ci step to do a plain `dotnet build` --- azure-pipelines.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 93ba6bd403d..26498f8276c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -382,6 +382,30 @@ stages: continueOnError: true condition: not(succeeded()) + # Plain build Linux + - job: Plain_Build_Linux + pool: + vmImage: ubuntu-latest + steps: + - checkout: self + clean: true + - script: ./build.sh + displayName: Initial build + - script: dotnet build ./FSharp.sln + displayName: Regular rebuild + + # Plain build Mac + - job: Plain_Build_MacOS + pool: + vmImage: macos-latest + steps: + - checkout: self + clean: true + - script: ./build.sh + displayName: Initial build + - script: dotnet build ./FSharp.sln + displayName: Regular rebuild + # Arcade-powered source build # turned off until https://github.com/dotnet/source-build/issues/1795 is fixed # - template: /eng/common/templates/jobs/jobs.yml From 2bd756523f69f038e5ae1f2eba362e1ea604c1a5 Mon Sep 17 00:00:00 2001 From: "Brett V. Forsgren" Date: Wed, 21 Oct 2020 11:26:38 -0700 Subject: [PATCH 2/4] report installed SDK versions --- azure-pipelines.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 26498f8276c..6a4579fe03d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -391,6 +391,8 @@ stages: clean: true - script: ./build.sh displayName: Initial build + - script: dotnet --list-sdks + displayName: Report dotnet SDK versions - script: dotnet build ./FSharp.sln displayName: Regular rebuild @@ -403,6 +405,8 @@ stages: clean: true - script: ./build.sh displayName: Initial build + - script: dotnet --list-sdks + displayName: Report dotnet SDK versions - script: dotnet build ./FSharp.sln displayName: Regular rebuild From 33e535f74ada3087832f60e9d481cfe5d212950e Mon Sep 17 00:00:00 2001 From: "Brett V. Forsgren" Date: Wed, 21 Oct 2020 11:28:40 -0700 Subject: [PATCH 3/4] generate binlogs of each build --- azure-pipelines.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6a4579fe03d..d4ff0c53665 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -386,6 +386,9 @@ stages: - job: Plain_Build_Linux pool: vmImage: ubuntu-latest + variables: + - name: _BuildConfig + value: Debug steps: - checkout: self clean: true @@ -393,13 +396,16 @@ stages: displayName: Initial build - script: dotnet --list-sdks displayName: Report dotnet SDK versions - - script: dotnet build ./FSharp.sln + - script: dotnet build ./FSharp.sln /bl:\"artifacts/log/$(_BuildConfig)/RegularBuild.binlog\" displayName: Regular rebuild # Plain build Mac - job: Plain_Build_MacOS pool: vmImage: macos-latest + variables: + - name: _BuildConfig + value: Debug steps: - checkout: self clean: true @@ -407,7 +413,7 @@ stages: displayName: Initial build - script: dotnet --list-sdks displayName: Report dotnet SDK versions - - script: dotnet build ./FSharp.sln + - script: dotnet build ./FSharp.sln /bl:\"artifacts/log/$(_BuildConfig)/RegularBuild.binlog\" displayName: Regular rebuild # Arcade-powered source build From ae72c441354b36d94904f7690fc7d4bf3cc512f8 Mon Sep 17 00:00:00 2001 From: "Brett V. Forsgren" Date: Wed, 21 Oct 2020 11:59:40 -0700 Subject: [PATCH 4/4] add windows build --- azure-pipelines.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d4ff0c53665..169a7cba5ec 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -382,6 +382,24 @@ stages: continueOnError: true condition: not(succeeded()) + # Plain build Windows + # Disabled until the Windows Proto compiler is coreclr + # - job: Plain_Build_Windows + # pool: + # vmImage: windows-latest + # variables: + # - name: _BuildConfig + # value: Debug + # steps: + # - checkout: self + # clean: true + # - script: .\Build.cmd + # displayName: Initial build + # - script: dotnet --list-sdks + # displayName: Report dotnet SDK versions + # - script: dotnet build .\FSharp.sln /bl:\"artifacts/log/$(_BuildConfig)/RegularBuild.binlog\" + # displayName: Regular rebuild + # Plain build Linux - job: Plain_Build_Linux pool: