Jelajahi Sumber

Release v1.8.6 (#192)

Fangjun Kuang 2 tahun lalu
induk
melakukan
3c3109a21c

+ 0 - 98
.github/workflows/csharp-api-test.yaml

@@ -1,98 +0,0 @@
-name: swift-api-test
-
-on:
-  push:
-    branches:
-      - master
-      - csharp-api
-    paths:
-      - '.github/workflows/csharp-api-test.yaml'
-      - '.github/scripts/csharp-api-test.sh'
-      - 'CMakeLists.txt'
-      - 'cmake/**'
-      - 'sherpa-ncnn/csrc/*'
-      - 'sherpa-ncnn/csharp-api/*'
-      - 'sherpa-ncnn/c-api/*'
-      - 'sherpa-ncnn/csharp-api-examples/*'
-  pull_request:
-    branches:
-      - master
-    paths:
-      - '.github/workflows/swift-api-test.yaml'
-      - '.github/scripts/swift-api-test.sh'
-      - 'CMakeLists.txt'
-      - 'cmake/**'
-      - 'sherpa-ncnn/csrc/*'
-      - 'sherpa-ncnn/csharp-api/*'
-      - 'sherpa-ncnn/c-api/*'
-      - 'sherpa-ncnn/csharp-api-examples/*'
-
-concurrency:
-  group: csharp-api-test-${{ github.ref }}
-  cancel-in-progress: true
-
-permissions:
-  contents: read
-
-jobs:
-  csharp-api-test:
-    runs-on: ${{ matrix.os }}
-    name: ${{ matrix.vs-version }}
-    strategy:
-      fail-fast: false
-      matrix:
-        include:
-          - vs-version: vs2015
-            toolset-version: v140
-            os: windows-2019
-
-          - vs-version: vs2017
-            toolset-version: v141
-            os: windows-2019
-
-          - vs-version: vs2019
-            toolset-version: v142
-            os: windows-2022
-
-          - vs-version: vs2022
-            toolset-version: v143
-            os: windows-2022
-
-    steps:
-      - uses: actions/checkout@v2
-        with:
-          fetch-depth: 0
-
-      - name: Set up .NET Core
-        uses: actions/setup-dotnet@v1
-        with:
-          dotnet-version: '6.0.x'
-          include-prerelease: true
-
-      - name: Configure CMake
-        shell: bash
-        run: |
-          mkdir build
-          cd build
-          cmake \
-            -T ${{ matrix.toolset-version}},host=x64 \
-            -A x64 \
-            -D CMAKE_BUILD_TYPE=Release \
-            -D BUILD_SHARED_LIBS=ON \
-            ..
-
-      - name: Build sherpa-ncnn for windows
-        shell: bash
-        run: |
-          cd build
-          cmake --build . --config Release --target sherpa-ncnn-c-api -v
-
-      - name: Build C# exe
-        shell: bash
-        run: |
-          export PATH=$PWD/build/bin/Release:$PATH
-
-          csc ./csharp-api-examples/WaveReader.cs ./csharp-api-examples/DecodeFile.cs ./sherpa-ncnn/csharp-api/SherpaNcnn.cs
-          ls -lh ./DecodeFile.exe
-          ./DecodeFile.exe
-

+ 5 - 0
sherpa-ncnn/csharp-api/sherpa-ncnn.csproj.in

@@ -10,6 +10,11 @@
     <AssemblyName>sherpa-ncnn</AssemblyName>
     <Version>@SHERPA_NCNN_VERSION@</Version>
 
+    <PackageProjectUrl>https://github.com/k2-fsa/sherpa-ncnn</PackageProjectUrl>
+    <RepositoryUrl>https://github.com/k2-fsa/sherpa-ncnn</RepositoryUrl>
+    <PackageTags>speech recognition voice audio stt asr speech-to-text AI offline
+      privacy open-sourced next-gen-kaldi k2 kaldi2 sherpa-ncnn</PackageTags>
+
     <Authors>The Next-gen Kaldi development team</Authors>
     <Owners>The Next-gen Kaldi development team</Owners>
     <Company>Xiaomi Corporation</Company>

+ 5 - 0
sherpa-ncnn/csharp-api/sherpa-ncnn.csproj.runtime.in

@@ -8,6 +8,11 @@
     <AssemblyName>sherpa-ncnn</AssemblyName>
     <Version>@SHERPA_NCNN_VERSION@</Version>
 
+    <PackageProjectUrl>https://github.com/k2-fsa/sherpa-ncnn</PackageProjectUrl>
+    <RepositoryUrl>https://github.com/k2-fsa/sherpa-ncnn</RepositoryUrl>
+    <PackageTags>speech recognition voice audio stt asr speech-to-text AI offline
+      privacy open-sourced next-gen-kaldi k2 kaldi2 sherpa-ncnn</PackageTags>
+
     <!-- Nuget Properties -->
     <Description>.NET native wrapper for the sherpa-ncnn project</Description>
     <IncludeBuildOutput>false</IncludeBuildOutput>