Skip to content

Commit

Permalink
ci(bindings/swift): optimize time consumption of CI pipeline (#2545)
Browse files Browse the repository at this point in the history
* chore(bindings/swift): use debug mode for `make test`

* ci(bindings/swift): remove macOS host for CI

* chore(bindings/swift): hard-code debug mode
  • Loading branch information
unixzii authored Jun 26, 2023
1 parent 56f08e1 commit a6e2cf2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bindings_swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3

Expand Down
4 changes: 2 additions & 2 deletions bindings/swift/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a6e2cf2

Please sign in to comment.