Skip to content

Commit 0cda525

Browse files
committed
azure: use bash scripts across all platforms
Right now, we maintain semantically equivalent build scripts in both Bash and Powershell to support both Windows and non-Windows hosts. Azure Pipelines supports Bash on Windows, too, via Git for Windows, and as such it's not really required to maintain the Powershell scripts at all. Remove them to reduce our own maintenance burden.
1 parent 1be4f89 commit 0cda525

File tree

5 files changed

+8
-194
lines changed

5 files changed

+8
-194
lines changed

azure-pipelines.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
displayName: 'Windows (amd64; Visual Studio)'
7979
pool: Hosted
8080
steps:
81-
- template: azure-pipelines/powershell.yml
81+
- template: azure-pipelines/bash.yml
8282
parameters:
8383
environmentVariables:
8484
CMAKE_GENERATOR: Visual Studio 12 2013 Win64
@@ -88,7 +88,7 @@ jobs:
8888
displayName: 'Windows (x86; Visual Studio)'
8989
pool: Hosted
9090
steps:
91-
- template: azure-pipelines/powershell.yml
91+
- template: azure-pipelines/bash.yml
9292
parameters:
9393
environmentVariables:
9494
CMAKE_GENERATOR: Visual Studio 12 2013
@@ -103,7 +103,7 @@ jobs:
103103
env:
104104
TEMP: $(Agent.TempDirectory)
105105
ARCH: amd64
106-
- template: azure-pipelines/powershell.yml
106+
- template: azure-pipelines/bash.yml
107107
parameters:
108108
environmentVariables:
109109
BUILD_PATH: $(Agent.TempDirectory)\mingw64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\CMake\bin
@@ -120,7 +120,7 @@ jobs:
120120
env:
121121
TEMP: $(Agent.TempDirectory)
122122
ARCH: x86
123-
- template: azure-pipelines/powershell.yml
123+
- template: azure-pipelines/bash.yml
124124
parameters:
125125
environmentVariables:
126126
BUILD_PATH: $(Agent.TempDirectory)\mingw32\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\CMake\bin

azure-pipelines/build.ps1

Lines changed: 0 additions & 30 deletions
This file was deleted.

azure-pipelines/nightly.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
displayName: 'Windows (amd64; Visual Studio)'
8080
pool: Hosted
8181
steps:
82-
- template: powershell.yml
82+
- template: bash.yml
8383
parameters:
8484
environmentVariables:
8585
CMAKE_GENERATOR: Visual Studio 12 2013 Win64
@@ -90,7 +90,7 @@ jobs:
9090
displayName: 'Windows (x86; Visual Studio)'
9191
pool: Hosted
9292
steps:
93-
- template: powershell.yml
93+
- template: bash.yml
9494
parameters:
9595
environmentVariables:
9696
CMAKE_GENERATOR: Visual Studio 12 2013
@@ -106,7 +106,7 @@ jobs:
106106
env:
107107
TEMP: $(Agent.TempDirectory)
108108
ARCH: amd64
109-
- template: powershell.yml
109+
- template: bash.yml
110110
parameters:
111111
environmentVariables:
112112
BUILD_PATH: $(Agent.TempDirectory)\mingw64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\CMake\bin
@@ -124,7 +124,7 @@ jobs:
124124
env:
125125
TEMP: $(Agent.TempDirectory)
126126
ARCH: x86
127-
- template: powershell.yml
127+
- template: bash.yml
128128
parameters:
129129
environmentVariables:
130130
BUILD_PATH: $(Agent.TempDirectory)\mingw32\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\CMake\bin

azure-pipelines/powershell.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

azure-pipelines/test.ps1

Lines changed: 0 additions & 139 deletions
This file was deleted.

0 commit comments

Comments
 (0)