Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove yaml-cpp conda pkg from Windows CI env to avoid gtest conflict #888

Merged
merged 10 commits into from
Jul 25, 2023

Conversation

gonuke
Copy link
Member

@gonuke gonuke commented Jul 22, 2023

Description

Removes conda pkg yaml-cpp from windows CI build environment.

Fixes #885

Motivation and Context

The yaml-cpp conda package installs a version of gtest, currently a version that is not compatible with the one we use. While it is questionable whether this package should install gtest, we don't need this package for our build so we can simply remove it.

@gonuke gonuke requested review from pshriwise and bam241 July 22, 2023 16:34
@gonuke gonuke requested a review from shimwell July 24, 2023 11:50
- name: Conda dependencies
shell: bash -l {0}
run: |
conda install curl eigen
conda install -c conda-forge hdf5=1.10.6
conda remove -y yaml-cpp
Copy link
Member

Choose a reason for hiding this comment

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

interesting I wonder how this one is brought in to the environment.

Copy link
Member

Choose a reason for hiding this comment

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

conda install with --no-deps would perhas be another option

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 are using a standard miniconda environment as the windows image, so it probably is just there from that process

Copy link
Member Author

Choose a reason for hiding this comment

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

... so it's only really relevant for CI, this this is a pretty good solution, I think

@shimwell shimwell merged commit 05bf358 into svalinn:develop Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows Build Failure with Gtest
2 participants