Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Aug 29, 2021
1 parent ecb5b05 commit 1807252
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 40 deletions.
45 changes: 5 additions & 40 deletions azure-pipelines.yml
Expand Up @@ -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
5 changes: 5 additions & 0 deletions testing/get-dart.sh
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 1807252

Please sign in to comment.