Skip to content

Use byte[] for bytes type #122

Use byte[] for bytes type

Use byte[] for bytes type #122

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
container:
image: rust:1.72-bullseye
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: Build
run: |
./build.sh
./generate_bindings.sh
- uses: actions/upload-artifact@v3
with:
path: |
dotnet-tests/UniffiCS/gen
target/debug/libuniffi_fixtures.so
target/debug/uniffi-bindgen-cs
binding-unit-tests:
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/dotnet/sdk:6.0
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: Test
run: ./run_unit_tests.sh
test-bindings:
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/dotnet/sdk:6.0
needs: build
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- uses: actions/download-artifact@v3
- name: Test
run: |
# copy artifacts to root directory
cp -R artifact/* .
chmod +x target/debug/uniffi-bindgen-cs
./test_bindings.sh