Skip to content

Commit 5e42c58

Browse files
authored
Update build_and_pack.yml
1 parent 1500aed commit 5e42c58

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/build_and_pack.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,25 @@ jobs:
8181
# ${{ matrix.ios-version != '' && format('-p:IOSVersion={0}', matrix.ios-version) || '' }}
8282
# ${{ matrix.runtime == 'ios-x64' && '-p:EnableAssemblyILStripping=false' || '' }} # iOS优化:禁用IL剥离(可选)
8383

84+
# - name: Build
85+
# run: dotnet build AliFsmnVad.sln
86+
# --configuration Release
87+
# --no-restore
88+
# -p:TargetFrameworks='${{ matrix.target-frameworks }}'
89+
# -p:RuntimeIdentifier=${{ matrix.runtime }}
90+
# -p:SelfContained=false
91+
# -p:ExcludeFromBuild=true
92+
# -p:ExcludedProjects="AliFsmnVad.Examples.csproj"
93+
# ${{ matrix.ios-version != '' && format('-p:IOSVersion={0}', matrix.ios-version) || '' }}
94+
# ${{ matrix.runtime == 'ios-x64' && '-p:EnableAssemblyILStripping=false' || '' }} # iOS优化:禁用IL剥离(可选)
95+
8496
- name: Build
85-
run: dotnet build AliFsmnVad.sln
97+
run: dotnet build AliFsmnVad/AliFsmnVad.csproj
8698
--configuration Release
8799
--no-restore
88100
-p:TargetFrameworks='${{ matrix.target-frameworks }}'
89101
-p:RuntimeIdentifier=${{ matrix.runtime }}
90-
-p:SelfContained=false
91-
-p:ExcludeFromBuild=true
92-
-p:ExcludedProjects="AliFsmnVad.Examples.csproj"
102+
-p:SelfContained=false
93103
${{ matrix.ios-version != '' && format('-p:IOSVersion={0}', matrix.ios-version) || '' }}
94104
${{ matrix.runtime == 'ios-x64' && '-p:EnableAssemblyILStripping=false' || '' }} # iOS优化:禁用IL剥离(可选)
95105

0 commit comments

Comments
 (0)