mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 21:43:18 -07:00
chore: removed armhf build
This commit is contained in:
parent
86e87ab656
commit
235017c294
1 changed files with 3 additions and 18 deletions
17
.github/workflows/build-and-deploy.yml
vendored
17
.github/workflows/build-and-deploy.yml
vendored
|
@ -4,6 +4,7 @@ on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*.*.*' # Match version tags
|
- 'v*.*.*' # Match version tags
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -21,11 +22,6 @@ jobs:
|
||||||
arch: arm64
|
arch: arm64
|
||||||
target_os: linux
|
target_os: linux
|
||||||
target_arch: aarch64
|
target_arch: aarch64
|
||||||
- os: ubuntu-latest
|
|
||||||
arch: amd64
|
|
||||||
target_os: linux
|
|
||||||
target_arch: armhf
|
|
||||||
cross_build: true
|
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
arch: amd64
|
arch: amd64
|
||||||
target_os: darwin
|
target_os: darwin
|
||||||
|
@ -75,19 +71,9 @@ jobs:
|
||||||
copy builder\libusb.pc C:\pkg-config\libusb.pc
|
copy builder\libusb.pc C:\pkg-config\libusb.pc
|
||||||
copy builder\libusb.pc C:\pkg-config\libusb-1.0.pc
|
copy builder\libusb.pc C:\pkg-config\libusb-1.0.pc
|
||||||
|
|
||||||
- name: Install QEMU for Cross Compilation (Linux only)
|
|
||||||
if: matrix.cross_build && matrix.os == 'ubuntu-latest'
|
|
||||||
run: |
|
|
||||||
wget --show-progress -qcO "qemu.deb" "https://github.com/bettercap/buildutils/raw/main/qemu-user-static_5.2_dfsg-9_amd64.deb"
|
|
||||||
sudo dpkg -i "qemu.deb"
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
if [ -n "${{matrix.cross_build}}" ]; then
|
|
||||||
sudo builder/arm_builder.sh bettercap make -e TARGET="${{ env.OUTPUT }}"
|
|
||||||
else
|
|
||||||
make -e TARGET="${{ env.OUTPUT }}"
|
make -e TARGET="${{ env.OUTPUT }}"
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Verify Build
|
- name: Verify Build
|
||||||
run: |
|
run: |
|
||||||
|
@ -96,7 +82,6 @@ jobs:
|
||||||
7z a "bettercap_${{ matrix.target_os }}_${{ matrix.target_arch }}_${{ env.VERSION }}.zip" "${{ env.OUTPUT }}" "bettercap_${{ matrix.target_os }}_${{ matrix.target_arch }}_${{ env.VERSION }}.sha256"
|
7z a "bettercap_${{ matrix.target_os }}_${{ matrix.target_arch }}_${{ env.VERSION }}.zip" "${{ env.OUTPUT }}" "bettercap_${{ matrix.target_os }}_${{ matrix.target_arch }}_${{ env.VERSION }}.sha256"
|
||||||
ls -la bettercap*
|
ls -la bettercap*
|
||||||
|
|
||||||
# Deployment is triggered on push of version tags and the files are already zipped and hashed during the build job.
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: [build]
|
needs: [build]
|
||||||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
|
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue