-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
simplifying CI: ubuntu install #750
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Yagiz Nizipli <[email protected]>
Co-authored-by: Yagiz Nizipli <[email protected]>
@@ -38,8 +34,10 @@ jobs: | |||
- name: Install | |||
run: cmake --install build | |||
- name: Prepare test package | |||
run: cmake -DCMAKE_INSTALL_PREFIX:PATH=../../destination -S tests/installation -B buildbabyada | |||
run: cmake -DCMAKE_INSTALL_PREFIX:PATH=../../destination -S tests/installation | |
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.
We need to either pass CC=gcc-12 CXX=g++-12 or do sudo ln -sf /usr/bin/gcc-12 /usr/bin/gcc
kind of symlink to fix the issue. Ubuntu 22 doesn't include gcc 12 or something newer
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.
Let us upgrade to ubuntu 24.
Messing around with paths is fragile.
@lemire I wonder if installing gtest directly to alpine linux would solve our problem? It seems it's available: https://pkgs.alpinelinux.org/package/edge/main/x86/gtest |
@anonrig I do not understand the problem. I have a local alpine image and it works without a problem in it. |
Here we go: |
So we have a choice:
|
Please see #782 |
GitHub complains that the workflow file is invalid. Let us simplify it.