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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis: add Fedora job #2036

Merged
merged 5 commits into from
May 26, 2020
Merged

Travis: add Fedora job #2036

merged 5 commits into from
May 26, 2020

Conversation

dschwoerer
Copy link
Contributor

Add job for fedora 馃槂

It also adds a script to detect fedora, because one test was to slow.

I needed to change the detect travis script, because there was no un-versioned python command.

Copy link
Member

@ZedThree ZedThree left a comment

Choose a reason for hiding this comment

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

Cool, thanks @dschwoerer ! Always nice to test in more environments + more compilers! 馃槃

.travis_fedora.sh Outdated Show resolved Hide resolved
tests/integrated/test-multigrid_laplace/runtest Outdated Show resolved Hide resolved
cd
cd BOUT-dev
echo "starting configure"
time bash ./configure --with-petsc --enable-shared || cat config.log
Copy link
Member

Choose a reason for hiding this comment

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

Is bash really necessary here? configure is supposed to be very shell-agnostic!

Personally I'd prefer we use CMake here too!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Put it there for debugging, removed it now.

First I need to get used to using CMake. Is there a way to get tab completion to work?

Copy link
Member

Choose a reason for hiding this comment

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

Sure, that's reasonable! 馃槃

These files should probably be installed on your system somewhere: https://gitlab.kitware.com/cmake/cmake/-/tree/master/Auxiliary/bash-completion

I've only just discovered it and it seems to work quite well, so thanks for suggesting it!

Only slight annoyance is that it doesn't work with cmake . -B <build dir>, looks like you need to run cmake .. from the build directory for it to work

@dschwoerer
Copy link
Contributor Author

dschwoerer commented May 26, 2020 via email

@ZedThree
Copy link
Member

Do you know which settings don't get updated? Most should be fine I think.

Oh, plan was to actually namespace everything in #2027, evidently I've not done that yet. Will fix!

@dschwoerer
Copy link
Contributor Author

dschwoerer commented May 26, 2020 via email

@ZedThree
Copy link
Member

Ah ok, think I've got that fixed with cmake_dependent_option!

@ZedThree ZedThree merged commit dc737b2 into next May 26, 2020
@ZedThree ZedThree deleted the travis-fedora branch May 26, 2020 14:08
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.

None yet

2 participants