Skip to content

Commit b25c55f

Browse files
committed
fix pipelines
1 parent 791373b commit b25c55f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build_latest.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ jobs:
5454
include-prerelease: true
5555
- run: apt-get install -y libicu-dev libcurl4-openssl-dev zlib1g-dev libkrb5-dev
5656
- run: dotnet publish BBDown -r linux-x64 -c Release -o artifact
57-
- run: strip artifact/BBDown
5857

5958
- name: Upload Artifact[linux-x64]
6059
uses: actions/[email protected]
@@ -76,7 +75,6 @@ jobs:
7675
dotnet-version: ${{ env.DOTNET_SDK_VERSION }}
7776
include-prerelease: true
7877
- run: dotnet publish BBDown -r linux-arm64 -c Release -p:CppCompilerAndLinker=clang-9 -p:SysRoot=/crossrootfs/arm64 -o artifact
79-
- run: aarch64-linux-gnu-strip artifact/BBDown
8078

8179
- name: Upload Artifact[linux-arm64]
8280
uses: actions/[email protected]

BBDown/Directory.Build.props

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
77
<EventSourceSupport>false</EventSourceSupport>
88
<UseSystemResourceKeys>true</UseSystemResourceKeys>
99
<InvariantGlobalization>true</InvariantGlobalization>
10+
<StripSymbols>true</StripSymbols>
11+
<ObjCopyName Condition="'$(RuntimeIdentifier)' == 'linux-arm64'">aarch64-linux-gnu-objcopy</ObjCopyName>
1012
</PropertyGroup>
1113

12-
<ItemGroup Condition="'$(PublishAot)' == 'true'">
14+
<ItemGroup Condition="'$(PublishAot)' == 'true' and '$(RuntimeIdentifier)' != 'win-arm64'">
1315
<PackageReference Include="PublishAotCompressed" Version="0.0.3" />
1416
</ItemGroup>
1517

0 commit comments

Comments
 (0)