mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-18 01:27:00 +08:00
Merge pull request #2 from sanchuanhehe/deb-dev
fix(debian): 移除 armhf 架构支持,更新交叉编译环境配置
This commit is contained in:
commit
7d190fcbc1
12
.github/workflows/pkg-deb.yml
vendored
12
.github/workflows/pkg-deb.yml
vendored
@ -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
|
Loading…
x
Reference in New Issue
Block a user