Skip to content

Conversation

fangchenli
Copy link
Member

@fangchenli fangchenli commented Dec 22, 2020

We save about 2-3 min build time by using Azure's conda.

@jreback jreback added the CI Continuous Integration label Dec 22, 2020
- bash: echo '##vso[task.prependpath]$(HOME)/miniconda3/bin'
displayName: 'Add conda to PATH'

- script: ci/setup_env.sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so this is basically inlining setup_env?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we doing this? that is called by every build

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We save about 2-3 min build time by using the CI's conda. And the Windows builds are not using the script. We probably could combine all Azure CI setups into one file. Now we have one for posix and one for windows. They are almost identical.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok the problem is there are other things that setup_env is doing which this is not. not averse to this, but we need to do it inside setup_env.sh

@fangchenli fangchenli closed this Dec 28, 2020
@fangchenli fangchenli reopened this Jun 11, 2021
@fangchenli fangchenli closed this Jun 11, 2021
@fangchenli fangchenli reopened this Jun 11, 2021
@fangchenli fangchenli marked this pull request as draft June 11, 2021 02:01
parameters:
name: macOS
vmImage: macOS-10.14
vmImage: macOS-10.15
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fangchenli can any of this be split off into an easy preliminary?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fangchenli fangchenli closed this Jul 17, 2021
@fangchenli fangchenli deleted the refactor-azure-ci branch November 18, 2022 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants