mirror of
https://github.com/uutils/coreutils.git
synced 2025-07-07 13:35:00 +00:00
Cross.toml: Install tzdata in container
Linux tests require that now, as we now assume /usr/share/zoneinfo is present.
This commit is contained in:
parent
dadda0dd6a
commit
eb5fc4c4cb
2 changed files with 7 additions and 4 deletions
4
.github/workflows/CICD.yml
vendored
4
.github/workflows/CICD.yml
vendored
|
@ -653,10 +653,6 @@ jobs:
|
|||
;;
|
||||
esac
|
||||
outputs CARGO_TEST_OPTIONS
|
||||
# ** pass needed environment into `cross` container (iff `cross` not already configured via "Cross.toml")
|
||||
if [ "${CARGO_CMD}" = 'cross' ] && [ ! -e "Cross.toml" ] ; then
|
||||
printf "[build.env]\npassthrough = [\"CI\", \"RUST_BACKTRACE\", \"CARGO_TERM_COLOR\"]\n" > Cross.toml
|
||||
fi
|
||||
# * executable for `strip`?
|
||||
STRIP="strip"
|
||||
case ${{ matrix.job.target }} in
|
||||
|
|
7
Cross.toml
Normal file
7
Cross.toml
Normal file
|
@ -0,0 +1,7 @@
|
|||
# spell-checker:ignore (misc) dpkg noninteractive tzdata
|
||||
[build]
|
||||
pre-build = [
|
||||
"apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install tzdata",
|
||||
]
|
||||
[build.env]
|
||||
passthrough = ["CI", "RUST_BACKTRACE", "CARGO_TERM_COLOR"]
|
Loading…
Add table
Add a link
Reference in a new issue