-
Notifications
You must be signed in to change notification settings - Fork 5
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
cmake: Add a native build job on Ubuntu 20.04 + CMake 3.16 #64
Conversation
6771734
to
b2866be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, just some questions.
|
||
include(CTest) | ||
|
||
if(TARGET bitcoin-util AND TARGET bitcoin-tx) | ||
if(TARGET bitcoin-util AND TARGET bitcoin-tx AND PYTHON_COMMAND) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should there be a warning or something if there is no PYTHON_COMMAND
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Added.
|
||
- name: Remove preinstalled CMake | ||
run: | | ||
sudo rm /usr/local/bin/cmake /usr/local/bin/ctest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this something that comes with the github actions image? I do not have this package when I do:
docker pull ubuntu:20.04
docker run -ti --rm ubuntu:20.04 /bin/bash
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this something that comes with the github actions image?
It is.
b2866be
to
a054e0b
Compare
Add python-based tests only when PYTHON_COMMAND is available.
Running for pushes is enough in the cmake-staging branch.
Add a native build job on Ubuntu 20.04 that includes the minimum required CMake 3.16.
Fix "Cache save failed." warning.
Add "Install" steps
207b5fc
to
53cb2c8
Compare
Thank you for your review! Your comments have been addressed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 53cb2c8
This PR:
ALLOW_HOST_PACKAGES
depends feature.