Skip to content

Commit b44fd68

Browse files
committed
Let's try lld.
1 parent d8721b5 commit b44fd68

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,11 @@ jobs:
2727
echo "VERSION=${{ github.ref_name }}" >> $GITHUB_OUTPUT
2828
echo "RELEASE_ID=$(jq --raw-output '.release.id' $GITHUB_EVENT_PATH)" >> $GITHUB_OUTPUT
2929
- name: Install ARM cross-compilation toolchain
30-
if: matrix.cross_toolchain != ''
3130
run: |
3231
sudo apt-get update
33-
sudo apt-get install -y --fix-missing ${{ matrix.cross_toolchain }}
32+
sudo apt-get install -y lld
3433
- name: Publish for OS
35-
run: dotnet publish SimplestLoadBalancer.csproj -o ./slb-${{ matrix.rid }} -c Release -r ${{ matrix.rid }} /p:Version=${{ github.ref_name }} /p:CppCompilerAndLinker=arm-linux-gnueabihf-gcc /p:SysRoot=/usr/arm-linux-gnueabihf
34+
run: dotnet publish SimplestLoadBalancer.csproj -o ./slb-${{ matrix.rid }} -c Release -r ${{ matrix.rid }} /p:Version=${{ github.ref_name }} /p:CppCompilerAndLinker=clang /p:LinkerFlavor=lld
3635
- name: Zip it Up
3736
run: zip -r -j SimplestLoadBalancer-${{ github.ref_name }}-${{ matrix.rid }}.zip ./slb-${{ matrix.rid }}
3837
- name: Upload ZIP to Release

0 commit comments

Comments
 (0)