Skip to content

Commit c2829c4

Browse files
committed
fix: use native ARM64 runner instead of cross-compilation for linux-arm64
1 parent 26e9e26 commit c2829c4

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- rid: linux-x64
1717
os: ubuntu-latest
1818
- rid: linux-arm64
19-
os: ubuntu-latest
19+
os: ubuntu-24.04-arm
2020
- rid: osx-x64
2121
os: macos-latest
2222
- rid: osx-arm64
@@ -37,21 +37,6 @@ jobs:
3737
dotnet-version: "10.0.x"
3838
dotnet-quality: "ga"
3939

40-
- name: Install cross-compilation toolchain
41-
if: matrix.rid == 'linux-arm64'
42-
run: |
43-
sudo dpkg --add-architecture arm64
44-
sudo sed -i 's/^Architectures: .*$/Architectures: amd64/' /etc/apt/sources.list.d/ubuntu.sources
45-
sudo tee /etc/apt/sources.list.d/arm64-ports.sources > /dev/null <<'EOF'
46-
Types: deb
47-
URIs: http://ports.ubuntu.com/
48-
Suites: noble noble-updates
49-
Components: main restricted universe multiverse
50-
Architectures: arm64
51-
EOF
52-
sudo apt-get update
53-
sudo apt-get install -y clang llvm binutils-aarch64-linux-gnu
54-
5540
- name: Publish
5641
run: dotnet publish funURL.CLI -c Release -r ${{ matrix.rid }} -o publish
5742

0 commit comments

Comments
 (0)