Skip to content

Commit

Permalink
fix: fix main CI (#4319)
Browse files Browse the repository at this point in the history
* fix: fix main CI

- add previous default features to bindings (cpp,dotnet,lua,ruby)
- fix ghac ci

* update all bindings

* fix compile for oss (once_cell not found)

* include memory in default
  • Loading branch information
xxchan authored Mar 5, 2024
1 parent f914dc3 commit 0d6d866
Show file tree
Hide file tree
Showing 11 changed files with 231 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/service_test_ghac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Test
shell: bash
working-directory: core
run: cargo nextest run behavior --features tests
run: cargo nextest run behavior --features tests services-ghac
env:
OPENDAL_TEST: ghac
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19 changes: 18 additions & 1 deletion bindings/cpp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,24 @@ crate-type = ["staticlib"]
anyhow = "1.0"
chrono = "0.4"
cxx = "1.0"
opendal = { version = "0.45.1", path = "../../core" }
opendal = { version = "0.45.1", path = "../../core", features = [
# These are default features before v0.46. TODO: change to optional features
"services-azblob",
"services-azdls",
"services-cos",
"services-fs",
"services-gcs",
"services-ghac",
"services-http",
"services-ipmfs",
"services-memory",
"services-obs",
"services-oss",
"services-s3",
"services-webdav",
"services-webhdfs",
"services-azfile",
] }

[build-dependencies]
cxx-build = "1.0"
19 changes: 18 additions & 1 deletion bindings/dotnet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,21 @@ crate-type = ["cdylib"]
doc = false

[dependencies]
opendal = { version = "0.45.1", path = "../../core" }
opendal = { version = "0.45.1", path = "../../core", features = [
# These are default features before v0.46. TODO: change to optional features
"services-azblob",
"services-azdls",
"services-cos",
"services-fs",
"services-gcs",
"services-ghac",
"services-http",
"services-ipmfs",
"services-memory",
"services-obs",
"services-oss",
"services-s3",
"services-webdav",
"services-webhdfs",
"services-azfile",
] }
19 changes: 18 additions & 1 deletion bindings/haskell/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,21 @@ doc = false
[dependencies]
chrono = "0.4"
log = { version = "0.4", features = ["std"] }
opendal = { version = "0.45.1", path = "../../core" }
opendal = { version = "0.45.1", path = "../../core", features = [
# These are default features before v0.46. TODO: change to optional features
"services-azblob",
"services-azdls",
"services-cos",
"services-fs",
"services-gcs",
"services-ghac",
"services-http",
"services-ipmfs",
"services-memory",
"services-obs",
"services-oss",
"services-s3",
"services-webdav",
"services-webhdfs",
"services-azfile",
] }
19 changes: 18 additions & 1 deletion bindings/lua/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,21 @@ mlua = { version = "0.9", features = [
"module",
"macros",
], default-features = false, optional = true }
opendal = { version = "0.45.1", path = "../../core" }
opendal = { version = "0.45.1", path = "../../core", features = [
# These are default features before v0.46. TODO: change to optional features
"services-azblob",
"services-azdls",
"services-cos",
"services-fs",
"services-gcs",
"services-ghac",
"services-http",
"services-ipmfs",
"services-memory",
"services-obs",
"services-oss",
"services-s3",
"services-webdav",
"services-webhdfs",
"services-azfile",
] }
19 changes: 18 additions & 1 deletion bindings/ocaml/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,24 @@ doc = false

[dependencies]
ocaml = { version = "^1.0.0-beta" }
opendal = { version = "0.45.1", path = "../../core" }
opendal = { version = "0.45.1", path = "../../core", features = [
# These are default features before v0.46. TODO: change to optional features
"services-azblob",
"services-azdls",
"services-cos",
"services-fs",
"services-gcs",
"services-ghac",
"services-http",
"services-ipmfs",
"services-memory",
"services-obs",
"services-oss",
"services-s3",
"services-webdav",
"services-webhdfs",
"services-azfile",
] }

[build-dependencies]
ocaml-build = { version = "^1.0.0-beta" }
20 changes: 19 additions & 1 deletion bindings/php/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,22 @@ crate-type = ["cdylib"]

[dependencies]
ext-php-rs = "0.11.2"
opendal = { version = "0.45.1", path = "../../core" }
opendal = { version = "0.45.1", path = "../../core", features = [
# These are default features before v0.46. TODO: change to optional features
"services-azblob",
"services-azdls",
"services-cos",
"services-fs",
"services-gcs",
"services-ghac",
"services-http",
"services-ipmfs",
"services-memory",
"services-obs",
"services-oss",
"services-s3",
"services-webdav",
"services-webhdfs",
"services-azfile",
] }

19 changes: 18 additions & 1 deletion bindings/ruby/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,24 @@ name = "opendal_ruby"

[dependencies]
magnus = { version = "0.5", features = ["bytes-crate"] }
opendal = { version = "0.45.1", path = "../../core" }
opendal = { version = "0.45.1", path = "../../core", features = [
# These are default features before v0.46. TODO: change to optional features
"services-azblob",
"services-azdls",
"services-cos",
"services-fs",
"services-gcs",
"services-ghac",
"services-http",
"services-ipmfs",
"services-memory",
"services-obs",
"services-oss",
"services-s3",
"services-webdav",
"services-webhdfs",
"services-azfile",
] }
rb-sys = { version = "0.9.77", default-features = false }

[build-dependencies]
Expand Down
103 changes: 100 additions & 3 deletions core/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ default-members = ["."]
members = [".", "fuzz", "edge/*", "benches/vs_*"]

[features]
default = ["rustls"]
default = ["rustls", "services-memory"]

# Build test utils or not.
#
Expand Down Expand Up @@ -274,7 +274,7 @@ sha1 = { version = "0.10.6", optional = true }
sha2 = { version = "0.10", optional = true }

# For http based services.
reqsign = { version = "0.14.7", default-features = false, optional = true }
reqsign = { version = "0.14.9", default-features = false, optional = true }

# for services-atomic-server
atomic_lib = { version = "0.34.5", optional = true }
Expand Down
Loading

0 comments on commit 0d6d866

Please sign in to comment.