spack/.github/workflows
Harmen Stoppels e9cdcc4af0
build caches: collect files to relocate while tarballing w/o file (#48212)
A few changes to tarball creation (for build caches):
- do not run file to distinguish binary from text
- file is slow, even when running it in a batched fashion -- it usually reads all bytes and has slow logic to categorize specific types
- we don't need a highly detailed file categorization; a crude categorization of elf, mach-o, text suffices.
detecting elf and mach-o is straightforward and cheap
- detecting utf-8 (and with that ascii) is highly accurate: false positive rate decays exponentially as file size increases. Further it's not only the most common encoding, but the most common file type in package prefixes.
iso-8859-1 is cheaply (but heuristically) detected too, and sufficiently accurate after binaries and utf-8 files are classified earlier
- remove file as a dependency of Spack in general, which makes Spack itself easier to install
- detect file type and need to relocate as part of creating the tarball, which is more cache friendly and thus faster
2024-12-24 10:53:13 -07:00
..
bin bootstrap: add clingo 3.13 binaries and more (#47126) 2024-10-24 08:55:14 +02:00
requirements build(deps): bump types-six in /.github/workflows/requirements/style (#47954) 2024-12-08 19:34:20 -06:00
audit.yaml build(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0 (#48180) 2024-12-18 13:01:30 -06:00
bootstrap.yml build caches: collect files to relocate while tarballing w/o file (#48212) 2024-12-24 10:53:13 -07:00
build-containers.yml build(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0 (#48180) 2024-12-18 13:01:30 -06:00
ci.yaml ci: ci/all must always run, and fail if any job has status "fail" or "canceled" (#47517) 2024-11-09 06:04:51 -08:00
coverage.yml coverage.yml: set fail_ci_if_error = false again (#47986) 2024-12-09 16:59:44 +01:00
nightly-win-builds.yml build(deps): bump actions/checkout from 4.2.1 to 4.2.2 (#47185) 2024-10-25 09:48:50 -07:00
unit_tests.yaml build caches: collect files to relocate while tarballing w/o file (#48212) 2024-12-24 10:53:13 -07:00
valid-style.yml import-check: bump and simplify (#48222) 2024-12-20 09:39:42 +01:00