feat(cffi): cffi 函数调用接口增加传参与返回值. #67
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Rust | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| paths-ignore: | |
| - "docs/" | |
| pull_request: | |
| branches: [ "main" ] | |
| paths-ignore: | |
| - "docs/" | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build (Release) | |
| run: cargo build --release --verbose | |
| - name: Test (Release) | |
| run: cargo test -- -q | |
| - name: Upload Release Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: release-binary | |
| path: target/release/ | |
| compression-level: 9 |