-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Free disk space in container and prepare building the CLI (#267)
* Upgrade version of checkout action * Query disk-space and largest packages * Free disk space when building the container * Remove more packages from image * Install `cargo-c` with `--locked` to lower MSRV * Install `zlib-static` into container * Add missing `-y` parameter * Disable some features to debug linking problems * Print compiler information inside container * Try static relocation model * Try `-no-pie` instead * Try both flags * Try with `-Clink-args=-pie` * Remove `-Clink-args=-pie` and only build static libraries * Compile packages in container with `--with-pic=no` * Re-enable dynamic libraries and PIC * Build with `-Crelocation-model=pic` in container * Build CLI only to locate the build failures * Add missing `--locked` switch * Do not use `--features=static` for CI tests * Try compiling the CLI with `-Crelocation-model=dynamic-no-pic` * Re-enable nightly Rust in the container * Compile dependencies in container always with PIC * Build the CLI with all features * Compile zlib manually with PIC in the container * Remove building CLI in Rust workflow
- Loading branch information
Showing
4 changed files
with
56 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters