-
Notifications
You must be signed in to change notification settings - Fork 28
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
[ci] use 'rust-ci:latest-proj' #745
Conversation
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.
Can you also update Makefile and readme to tell we're using proj 7.2.1 and not 7.1.0 anymore?
✔️ Done
Should be good now, I've fixed it in b27f79f. |
'EPSG:*' creates a dependency on 'proj-data' which is harder to maintain. We're using the website epsg.io to know the exact string to use in replacement.
ENV PATH "/root/.cargo/bin:$PATH" | ||
# build the project | ||
RUN cargo build --workspace --release | ||
RUN mkdir /usr/src/bin && for file in ls ./target/release/*; do if test -f $file -a -x $file; then cp $file /usr/src/bin; fi; done |
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.
minor
RUN mkdir /usr/src/bin && for file in ls ./target/release/*; do if test -f $file -a -x $file; then cp $file /usr/src/bin; fi; done | |
RUN mkdir /usr/src/bin && for file in ls ./target/release/*; do if test -f $file -a -x $file; then cp $file /usr/src/bin; fi; done |
Use now the custom image that already contains
rustfmt
,clippy
,cargo-audit
andlibproj
. This should improve the build time and make it more reliable withlibproj
since we're not depending anymore on the custom.deb
.kisiodigital/rust-ci
(see https://github.com/CanalTP/ci-images/pull/17)