From 18072524eea08c4bc57bd3b5585a221d1622bf0d Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sun, 29 Aug 2021 08:41:05 -0700 Subject: [PATCH] debug --- azure-pipelines.yml | 45 +++++---------------------------------------- testing/get-dart.sh | 5 +++++ 2 files changed, 10 insertions(+), 40 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a468e8aa6..35b84c1a3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -18,45 +18,10 @@ jobs: toxenvs: [py37] os: windows pre_test: - - task: UseRubyVersion@0 - - powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts" - displayName: Add conda to PATH - - powershell: | - Write-Host "##vso[task.prependpath]C:\Strawberry\perl\bin" - Write-Host "##vso[task.prependpath]C:\Strawberry\perl\site\bin" - Write-Host "##vso[task.prependpath]C:\Strawberry\c\bin" - displayName: Add strawberry perl to PATH - bash: testing/get-dart.sh displayName: install dart - - powershell: testing/get-r.ps1 - displayName: install R -- template: job--python-tox.yml@asottile - parameters: - toxenvs: [py37] - os: linux - name_postfix: _latest_git - pre_test: - - task: UseRubyVersion@0 - - template: step--git-install.yml - - bash: testing/get-coursier.sh - displayName: install coursier - - bash: testing/get-dart.sh - displayName: install dart - - bash: testing/get-swift.sh - displayName: install swift - - bash: testing/get-r.sh - displayName: install R -- template: job--python-tox.yml@asottile - parameters: - toxenvs: [pypy3, py36, py37, py38, py39] - os: linux - pre_test: - - task: UseRubyVersion@0 - - bash: testing/get-coursier.sh - displayName: install coursier - - bash: testing/get-dart.sh - displayName: install dart - - bash: testing/get-swift.sh - displayName: install swift - - bash: testing/get-r.sh - displayName: install R + - bash: | + echo "$PATH" + echo "$PATH" | xargs -d: -n1 + which -a dart + dart --help diff --git a/testing/get-dart.sh b/testing/get-dart.sh index 05bcca932..eb2cc5ec9 100755 --- a/testing/get-dart.sh +++ b/testing/get-dart.sh @@ -5,6 +5,7 @@ VERSION=2.13.4 echo "OSTYPE: $OSTYPE" if [ "$OSTYPE" = msys ]; then + echo 'getting windows x64!' URL="https://storage.googleapis.com/dart-archive/channels/stable/release/${VERSION}/sdk/dartsdk-windows-x64-release.zip" echo '##vso[task.prependpath]$(cygpath -w /tmp/dart-sdk/bin)' else @@ -16,3 +17,7 @@ curl --silent --location --output /tmp/dart.zip "$URL" unzip -q -d /tmp /tmp/dart.zip rm /tmp/dart.zip + +ls -al /tmp/dart-sdk +echo "cygpath: $(cygpath -w /tmp/dart-sdk/bin)" +ls -al /tmp/dart-sdk/bin