mirror of
https://github.com/epi052/feroxbuster.git
synced 2026-06-01 21:21:12 -03:00
added aarch64 build to ci
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
[target.armv7-unknown-linux-gnueabihf]
|
[target.armv7-unknown-linux-gnueabihf]
|
||||||
linker = "arm-linux-gnueabihf-gcc"
|
linker = "arm-linux-gnueabihf-gcc"
|
||||||
|
|
||||||
|
[target.aarch64-unknown-linux-gnu]
|
||||||
|
linker = "aarch64-linux-gnu-gcc"
|
||||||
|
|||||||
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -5,7 +5,7 @@ on: [push]
|
|||||||
jobs:
|
jobs:
|
||||||
build-nix:
|
build-nix:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
if: github.ref == 'refs/heads/main'
|
# if: github.ref == 'refs/heads/main'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
type: [ubuntu-x64, ubuntu-x86, armv7]
|
type: [ubuntu-x64, ubuntu-x86, armv7]
|
||||||
@@ -28,12 +28,18 @@ jobs:
|
|||||||
name: armv7-feroxbuster
|
name: armv7-feroxbuster
|
||||||
path: target/armv7-unknown-linux-gnueabihf/release/feroxbuster
|
path: target/armv7-unknown-linux-gnueabihf/release/feroxbuster
|
||||||
pkg_config_path: /usr/lib/x86_64-linux-gnu/pkgconfig
|
pkg_config_path: /usr/lib/x86_64-linux-gnu/pkgconfig
|
||||||
|
- type: aarch64
|
||||||
|
os: ubuntu-latest
|
||||||
|
target: aarch64-unknown-linux-gnu
|
||||||
|
name: aarch64-feroxbuster
|
||||||
|
path: target/aarch64-unknown-linux-gnu/release/feroxbuster
|
||||||
|
pkg_config_path: /usr/lib/x86_64-linux-gnu/pkgconfig
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install System Dependencies
|
- name: Install System Dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y --no-install-recommends libssl-dev pkg-config gcc-arm-linux-gnueabihf
|
sudo apt-get install -y --no-install-recommends libssl-dev pkg-config gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
@@ -49,7 +55,7 @@ jobs:
|
|||||||
args: --release --target=${{ matrix.target }}
|
args: --release --target=${{ matrix.target }}
|
||||||
- name: Strip symbols from binary
|
- name: Strip symbols from binary
|
||||||
run: |
|
run: |
|
||||||
strip -s ${{ matrix.path }} || arm-linux-gnueabihf-strip -s ${{ matrix.path }}
|
strip -s ${{ matrix.path }} || arm-linux-gnueabihf-strip -s ${{ matrix.path }} || aarch64-linux-gnu-strip -s ${{ matrix.path }}
|
||||||
- name: Build tar.gz for homebrew installs
|
- name: Build tar.gz for homebrew installs
|
||||||
if: matrix.type == 'ubuntu-x64'
|
if: matrix.type == 'ubuntu-x64'
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user