Skip to content

Add basic github workflow to build c# bindings #4

Add basic github workflow to build c# bindings

Add basic github workflow to build c# bindings #4

Workflow file for this run

name: Build
on:
push:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
- uses: cachix/cachix-action@v15
with:
name: devenv
- name: Install devenv.sh
run: nix profile install nixpkgs#devenv
- name: Build bindings
run: devenv shell uniffi-bindgen-cs -- --config uniffi/uniffi.toml uniffi/src/interface.udl
- name: Build dynamic library
run: devenv shell cargo -- build --release
working-directory: uniffi