Skip to content

Commit

Permalink
Merge branch 'main' into monoiofs-impl
Browse files Browse the repository at this point in the history
  • Loading branch information
NKID00 committed Jul 18, 2024
2 parents 27f11bb + e42a9eb commit 1feadf7
Show file tree
Hide file tree
Showing 105 changed files with 4,842 additions and 660 deletions.
72 changes: 0 additions & 72 deletions .github/scripts/assign_reviewers.js

This file was deleted.

29 changes: 3 additions & 26 deletions .github/workflows/ci_bindings_go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,32 +46,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.20'

- name: Setup Rust toolchain
uses: ./.github/actions/setup

- name: Build c binding
working-directory: bindings/c
run: make build

- name: Check diff
run: git diff --exit-code

- name: Generate pkg-config file
run: |
echo "libdir=$(pwd)/bindings/c/target/debug/" >> opendal_c.pc
echo "includedir=$(pwd)/bindings/c/include/" >> opendal_c.pc
echo "Name: opendal_c" >> opendal_c.pc
echo "Description: opendal c binding" >> opendal_c.pc
echo "Version: 0.0.1" >> opendal_c.pc
echo "Libs: -L\${libdir} -lopendal_c" >> opendal_c.pc
echo "Cflags: -I\${includedir}" >> opendal_c.pc
echo "PKG_CONFIG_PATH=$(pwd)" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$(pwd)/bindings/c/target/debug" >> $GITHUB_ENV

- name: Run tests
env:
OPENDAL_TEST: "memory"
working-directory: bindings/go
run: go test -tags dynamic .
run: CGO_ENABLE=0 go test -v -run TestBehavior
38 changes: 0 additions & 38 deletions .github/workflows/ci_review.yml

This file was deleted.

18 changes: 14 additions & 4 deletions bin/ofs/Cargo.lock

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

2 changes: 1 addition & 1 deletion bindings/go/DEPENDENCIES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Dependencies

OpenDAL Go Binding is based on the C Binding.
There are no extra runtime dependencies except those conveyed from C Binding.
Installation of libffi is required.
Loading

0 comments on commit 1feadf7

Please sign in to comment.