You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/06/26 12:20:28 UTC
[incubator-opendal] branch main updated: ci(bindings/swift): optimize time consumption of CI pipeline (#2545)
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/main by this push:
new a6e2cf293 ci(bindings/swift): optimize time consumption of CI pipeline (#2545)
a6e2cf293 is described below
commit a6e2cf293d36909c681724a354766c8c0b256cc8
Author: Cyandev <un...@gmail.com>
AuthorDate: Mon Jun 26 20:20:22 2023 +0800
ci(bindings/swift): optimize time consumption of CI pipeline (#2545)
* chore(bindings/swift): use debug mode for `make test`
* ci(bindings/swift): remove macOS host for CI
* chore(bindings/swift): hard-code debug mode
---
.github/workflows/bindings_swift.yml | 2 +-
bindings/swift/Makefile | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/bindings_swift.yml b/.github/workflows/bindings_swift.yml
index a2289027e..d526d5bbd 100644
--- a/.github/workflows/bindings_swift.yml
+++ b/.github/workflows/bindings_swift.yml
@@ -45,7 +45,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
- os: [ubuntu-latest, macos-latest]
+ os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
diff --git a/bindings/swift/Makefile b/bindings/swift/Makefile
index e6e25098a..08d417377 100644
--- a/bindings/swift/Makefile
+++ b/bindings/swift/Makefile
@@ -28,9 +28,9 @@ all: build-swift
.PHONY: build-c
build-c: $(DIRS)
- cargo build --release --manifest-path $(C_BINDING_SRC_DIR)/Cargo.toml
+ cargo build --manifest-path $(C_BINDING_SRC_DIR)/Cargo.toml
cp $(C_BINDING_SRC_DIR)/include/* $(INCLUDE_DIR)
- cp $(ROOT_DIR)/target/release/libopendal_c.a $(LIB_DIR)
+ cp $(ROOT_DIR)/target/debug/libopendal_c.a $(LIB_DIR)
.PHONY: build-swift
build-swift: build-c