-
Notifications
You must be signed in to change notification settings - Fork 373
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
Switch ci_docker to a container based on ubuntu 20.04 #1334
Conversation
@@ -105,15 +105,20 @@ jobs: | |||
|
|||
runs-on: ${{ matrix.runs_on }} | |||
|
|||
container: ${{ matrix.container }} |
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.
Oh that's cool that this falls through to "no container" if the value doesn't exist in the matrix
Looks like you need |
977d122
to
858d14d
Compare
# So we only run the script on !Windows, and then on Windows we do the parts of the script manually. | ||
# That way we still get to test the script on Linux and Mac. | ||
# Also we can't run it on linux because the 20.04 Docker container will install | ||
# an old version of binaryen/wasm-opt that barfs on the `--fast-math` flag |
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.
Hum… we probably shouldn't be using the --fast-math
flag, but installing the most recent binaryen/wasm-opt
seems like a good idea anyway
Tested on Arch ✅ |
Co-authored-by: Emil Ernerfeldt <[email protected]>
This is a reasonable, reproducible container for a common LTS release.
It contains glibc-2.31 and python-3.8, giving us a better degree of manylinux compatibility when building wheels.
The "best" way to build for maximum compatibilityu would be using one of the centos manylinux containers, but the containers that have the version of glibc that we would like are missing the required gtk-3 deps. This seems like a reasonable compromise.
This container has all the same deps as our normal rust build CI containers, so just use it for everything to keep stuff straight-forward.
In the process of avoiding some other sharp-corners on ubuntu I also modified things to just build the wheel once and then patch the .rrd into it after the fact.
Wheels available from: https://github.com/rerun-io/rerun/suites/11039049133/artifacts/560751373
TODO:
Checklist
CHANGELOG.md
(if this is a big enough change to warrant it)