Skip to content

Add chsarp nuget package build #5

Add chsarp nuget package build

Add chsarp nuget package build #5

Workflow file for this run

on:
push:
branches:
- master
pull_request: {}
name: CI
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04]
target: [aarch64-unknown-linux-gnu]
include:
- os: ubuntu-22.04
target: aarch64-unknown-linux-gnu
- os: ubuntu-22.04
target: x86_64-unknown-linux-gnu
- os: macos-14
target: aarch64-apple-darwin
- os: macos-14
target: x86_64-apple-darwin
- os: windows-2022
target: x86_64-pc-windows-msvc
- os: windows-2022
target: i686-pc-windows-msvc
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- run: rm rust-toolchain.toml
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
- run: cargo build --release --target ${{ matrix.target }} -p lwk_bindings
- name: Archive release
uses: actions/upload-artifact@v4
with:
name: bindings-${{ matrix.target }}
path: lib/target/${{ matrix.target }}/release/lwk.*