From 0c7e65db058fe8e81dc024c298ae55ce87e2f35f Mon Sep 17 00:00:00 2001 From: sanchuanhehe <2947512113@qq.com> Date: Wed, 11 Jun 2025 09:48:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(debian):=20=E7=A7=BB=E9=99=A4=20armhf=20?= =?UTF-8?q?=E6=9E=B6=E6=9E=84=E6=94=AF=E6=8C=81=EF=BC=8C=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E4=BA=A4=E5=8F=89=E7=BC=96=E8=AF=91=E7=8E=AF=E5=A2=83=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pkg-deb.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pkg-deb.yml b/.github/workflows/pkg-deb.yml index f3dd432..0c59e7d 100644 --- a/.github/workflows/pkg-deb.yml +++ b/.github/workflows/pkg-deb.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - arch: [amd64, arm64, armhf] + arch: [amd64, arm64] steps: - name: Checkout repository @@ -48,7 +48,7 @@ jobs: run: | sudo dpkg --add-architecture ${{ matrix.arch }} sudo apt-get update - sudo apt-get install -y gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf crossbuild-essential-${{ matrix.arch }} + sudo apt-get install -y gcc-aarch64-linux-gnu crossbuild-essential-${{ matrix.arch }} - name: Update debian/changelog with version run: | @@ -74,12 +74,6 @@ jobs: echo "CC=aarch64-linux-gnu-gcc" >> $GITHUB_ENV echo "DEB_BUILD_OPTIONS=nocheck" >> $GITHUB_ENV - - name: Configure cross-compilation for armhf - if: matrix.arch == 'armhf' - run: | - echo "CC=arm-linux-gnueabihf-gcc" >> $GITHUB_ENV - echo "DEB_BUILD_OPTIONS=nocheck" >> $GITHUB_ENV - - name: Build DEB package run: | version="${{ steps.get_version.outputs.version }}" @@ -179,4 +173,4 @@ jobs: with: name: debian-repository-metadata path: debs/Packages* - retention-days: 30 + retention-days: 30 \ No newline at end of file