-
Notifications
You must be signed in to change notification settings - Fork 19
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
Simplify some CI checks #699
Conversation
a1a7b15
to
a645a7c
Compare
a645a7c
to
ec79ba4
Compare
13491b7
to
cd9603f
Compare
.github/workflows/ci.yml
Outdated
echo "GDAL_HOME=$(pwd)/build/.pixi/envs/default" >> "$GITHUB_ENV" | ||
echo "LD_LIBRARY_PATH=$(pwd)/build/.pixi/envs/default/lib" >> "$GITHUB_ENV" | ||
echo "GEOS_LIB_DIR=$(pwd)/build/.pixi/envs/default/lib" >> "$GITHUB_ENV" | ||
# TODO: infer from toml file/lockfile | ||
echo "GEOS_VERSION=3.12.1" >> "$GITHUB_ENV" | ||
echo "PKG_CONFIG_PATH=$(pwd)/build/.pixi/envs/default/lib/pkgconfig" >> "$GITHUB_ENV" |
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.
I'm not sure but we may still need these environment variables so that the Rust build tooling knows where to find libraries. But maybe activate-environment: true
will be sufficient
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.
yuuup ... we're in good ol' debug-by-push at the moment 🙄 :-)
I'm going to bet most of the stuff is set correctly by the environment, but we might need to suppliment.
cd9603f
to
62c6f19
Compare
980c334
to
241c717
Compare
echo "GDAL_HOME=$(pwd)/build/.pixi/envs/default" >> "$GITHUB_ENV" | ||
echo "LD_LIBRARY_PATH=$(pwd)/build/.pixi/envs/default/lib" >> "$GITHUB_ENV" | ||
echo "GEOS_LIB_DIR=$(pwd)/build/.pixi/envs/default/lib" >> "$GITHUB_ENV" |
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.
I do think you probably need GDAL_HOME
and GEOS_LIB_DIR
manually set. And probably GEOS_VERSION
as well
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.
Seems to be passing w/o them? Right now only failure is on the Python .so
241c717
to
abcc4f5
Compare
I ended up touching the wasm and python workflows as well, mostly to make whitespace consistent and to remove the
--all
flags from thecargo
commands (only used for workspaces, and its deprecated).