Commit graph

858 commits

Author SHA1 Message Date
Félix Saparelli
51b300d29e
Fixes for the CI (#242) 2022-07-24 20:33:56 +12:00
github-actions[bot]
450e29d9cc
release: v0.11.0 (#234)
Co-authored-by: github-actions <github-actions@github.com>
2022-07-24 16:16:27 +12:00
Félix Saparelli
310c07d9c8
Reconfigure CI cache with fallbacks (#240) 2022-07-24 16:10:43 +12:00
Félix Saparelli
ef2752cd42
Stop using actions-rs (#239) 2022-07-24 15:37:41 +12:00
Félix Saparelli
88b9aceb01
Fix the instructions for publish on the release PR (#237) 2022-07-24 14:32:37 +12:00
Félix Saparelli
adef01f3dd
Find best download source out of alternatives (format extension) (#236) 2022-07-24 14:32:23 +12:00
Félix Saparelli
19266a4fb6
Disable zig for now (#238) 2022-07-24 13:41:58 +12:00
Félix Saparelli
6401f2bfa0
Replace toml with toml_edit (#233) 2022-07-24 03:33:55 +12:00
Félix Saparelli
e93f0beb4b
Remove support for .crates2.json (#235) 2022-07-24 03:33:31 +12:00
Jiahao XU
009a3a6778
Merge pull request #231 from NobodyXu/add-more-targets
Try to reenable armv7, aarch64 gnu targets
2022-07-24 00:52:39 +10:00
Félix Saparelli
7603267e33
Update dependencies (#232) 2022-07-24 01:33:34 +12:00
Jiahao XU
db0ae7cde5
Enable zig for all cross targets
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 23:22:01 +10:00
Jiahao XU
e857a88426
Add back target aarch64-unknown-linux-gnu
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:51:46 +10:00
Jiahao XU
e3a5ca2991
Add back target armv7-unknown-linux-gnueabihf
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:50:57 +10:00
Jiahao XU
00a56dc899
Merge pull request #230 from NobodyXu/speedup-ci
Speedup ci by using liblzma-dev, libzip and libzstd provided by `apt`
2022-07-23 22:48:51 +10:00
Jiahao XU
788bb85b8f
Use zig-cc for cross
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:42:07 +10:00
Jiahao XU
18e0730afb
Disable static and zlib-ng on cross compilation
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:42:06 +10:00
Jiahao XU
b33a606109
Use native-tls for x86_64-pc-windows-msvc on release
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:41 +10:00
Jiahao XU
23139e9db5
Use rustls on debug for aarch64-apple-darwin
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:41 +10:00
Jiahao XU
82aa893306
Disable feature static & zlib-ng on x86_64-apple-darwin
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:41 +10:00
Jiahao XU
291269f50f
Fix "Build debug": Add back use-cross
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:40 +10:00
Jiahao XU
026aefb5a7
Enable rustls for x86_64-unknown-linux-gnu
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:40 +10:00
Jiahao XU
018196de45
Disable default features only when debug_build_args is overriden
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:40 +10:00
Jiahao XU
6e1f930c8e
Disable native-tls for x86_64 linux-gnu and apple-darwin
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:40 +10:00
Jiahao XU
450facd260
Install deps only on x86_64 linux gnu
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:40 +10:00
Jiahao XU
1df00e5ba8
Enable native-tls on non-cross build & pkg-config on x86_64 linux gnu
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:40 +10:00
Jiahao XU
272d049cf6
Fix cond in integration test CI
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:40 +10:00
Jiahao XU
bdef2169a3
Fix typo in integration test CI
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:40 +10:00
Jiahao XU
d3bd11c182
Improve readability of features in Cargo.toml
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:39 +10:00
Jiahao XU
00f60c18b4
Enable feature pkg-config in debug build of integration CI
when not doing cross compilation.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:39 +10:00
Jiahao XU
8e10c0d356
Enable feature native-tls in debug build in integration CI
when not doing cross compilation

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:39 +10:00
Jiahao XU
f7caeea0e6
Enable feature native-tls in unit-tests
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:39 +10:00
Jiahao XU
0150e229aa
Add new feature native-tls
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:39 +10:00
Jiahao XU
162e4838d8
Add new feature rustls (enabled by default)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:39 +10:00
Jiahao XU
6fe2762f11
Add new feature zlib-ng (enabeld by default)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:39 +10:00
Jiahao XU
f2d5d0291b
Always disable feature pkg-config in integration test CI
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:38 +10:00
Jiahao XU
adbc2d4a11
Disable feature pkg-config for cross compilation.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:38 +10:00
Jiahao XU
8a32ab5dd3
Refactor: Extract ci-scripts/install-deps.sh
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:38 +10:00
Jiahao XU
74dd3b6c70
Build debug with feature pkg-config in integration test CI
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:38 +10:00
Jiahao XU
c2349a15cb
Install lzma, bzip & zstd only on debug build in integration test CI
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:38 +10:00
Jiahao XU
3dbec7718d
Fix dep installation in workflow "unit-tests"
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:38 +10:00
Jiahao XU
1499f5c201
Install lzma, bzip & zstd in integration test CI
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:38 +10:00
Jiahao XU
b22a55f08f
Install lzma, bzip and zstd lib in workflow unit-tests
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:38 +10:00
Jiahao XU
997d4e4e9d
Run workflow unit-tests with feature pkg-config
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:37 +10:00
Jiahao XU
6c09cb05c9
Add new feature pkg-config: Enable linking with sys packages
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:37 +10:00
Jiahao XU
818f4da577
Add new feature static that is enabled by default
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 22:41:34 +10:00
Félix Saparelli
3889d122a7
Releng improvements (#224) 2022-07-24 00:39:54 +12:00
Jiahao XU
1768392413
Merge pull request #228 from NobodyXu/fix/skip-on-custom-install
Fix updating metafiles: Skip on custom install path
2022-07-23 19:57:58 +10:00
Jiahao XU
5367b366d1
Use home::cargo_home in helpers::cargo_home
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 19:17:47 +10:00
Jiahao XU
ad2d393be7
Add back dep home v0.5.3
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-07-23 19:17:26 +10:00