commit 268e9e6b23bc0b25945bfc9e1e688bdc4cbcda37
parent 946575aec880564bc05eda7607caeca9cf3f701c
Author: Gavin Peacock <gpeacock@adobe.com>
Date: Mon, 10 Jul 2023 15:46:02 -0700
Repair CI tests (#278)
* revert image version to avoid ci failure
* set half crate version in cargo.toml
* use 1.70 in ci validation unit tests only
Diffstat:
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
@@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
- rust_version: [stable, 1.65.0]
+ rust_version: [stable, 1.70.0]
steps:
- name: Checkout repository
@@ -52,7 +52,7 @@ jobs:
fail-fast: false
matrix:
target: [aarch64-unknown-linux-gnu]
- rust_version: [stable, 1.65.0]
+ rust_version: [stable, 1.70.0]
steps:
- name: Checkout repository
diff --git a/make_test_images/Cargo.toml b/make_test_images/Cargo.toml
@@ -12,7 +12,8 @@ blake3 = "1.0.0"
c2pa = { path="../sdk", features = ["file_io", "xmp_write"] }
env_logger = "0.10"
log = "0.4.8"
-image = "0.24.5"
+half = "<2.3.0, < 3" # fix for older versions of rust
+image = "0.24.2"
nom = "7.1.1"
regex = "1.5.6"
serde = "1.0.137"
diff --git a/sdk/Cargo.toml b/sdk/Cargo.toml
@@ -103,7 +103,8 @@ x509-certificate = "0.19.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
ureq = "2.4.0"
-image = { version = "0.24.5", optional = true }
+half = "<2.3.0, < 3" # fix for older versions of rust
+image = { version = "0.24.2", optional = true }
instant = "0.1.12"
openssl = { version = "0.10.48", features = ["vendored"], optional = true }
xmp_toolkit = { version = "1.0", optional = true }