[libcxx] Stop hardcoding the bash path in the Windows CI
authorMartin Storsjö <martin@martin.st>
Tue, 27 Apr 2021 21:11:46 +0000 (00:11 +0300)
committerMartin Storsjö <martin@martin.st>
Wed, 28 Apr 2021 19:02:49 +0000 (22:02 +0300)
The buildbots now have bash available in the path from the start.

Differential Revision: https://reviews.llvm.org/D101436

libcxx/utils/ci/buildkite-pipeline.yml
libcxx/utils/ci/run-buildbot

index ebcc346..1023d74 100644 (file)
@@ -318,9 +318,7 @@ steps:
           limit: 2
 
   - label: "Windows"
-    # TODO: The CI runner doesn't have bash in the path currently. Once it
-    # has that, remove the absolute path and just call 'bash' here.
-    command: "\"\\Program Files\\Git\\usr\\bin\\bash\" libcxx/utils/ci/run-buildbot generic-win"
+    command: "bash libcxx/utils/ci/run-buildbot generic-win"
     artifact_paths:
       - "**/test-results.xml"
     agents:
index e7b8179..0cb7260 100755 (executable)
@@ -475,10 +475,6 @@ armv7-noexceptions)
 ;;
 generic-win)
     clean
-    # TODO: The CI runner doesn't have bash in the path currently, and it's
-    # needed for running tests. Once it's available out of the box, remove this.
-    export PATH="$PATH:/c/Program Files/Git/usr/bin"
-
     # TODO: Clang-cl in MSVC configurations don't have access to compiler_rt
     # builtins helpers for int128 division. See
     # https://reviews.llvm.org/D91139#2429595 for a comment about longterm