Added additional tcpdump workflows
This commit is contained in:
parent
98be6d8119
commit
235c902c68
3 changed files with 93 additions and 0 deletions
31
.github/workflows/build-tcpdump-aarch64.yml
vendored
Normal file
31
.github/workflows/build-tcpdump-aarch64.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
name: tcpdump AARCH64
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build tcpdump AARCH64
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:aarch64-linux-musl
|
||||
steps:
|
||||
|
||||
- name: Install dependencies
|
||||
run: apk update && apk add bash git perl make cmake flex bison automake autoconf libtool file texinfo zip wget
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build tcpdump
|
||||
id: build_tcpdump
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_tcpdump.sh aarch64
|
||||
|
||||
- name: List build directory
|
||||
run: ls -la /build
|
||||
|
||||
- name: List build artifacts
|
||||
run: ls -la /output
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.build_tcpdump.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_tcpdump.outputs.PACKAGED_NAME_PATH }}
|
31
.github/workflows/build-tcpdump-armhf.yml
vendored
Normal file
31
.github/workflows/build-tcpdump-armhf.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
name: tcpdump ARMHF
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build tcpdump ARMHF
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:armel-linux-musleabihf
|
||||
steps:
|
||||
|
||||
- name: Install dependencies
|
||||
run: apk update && apk add bash git perl make cmake flex bison automake autoconf libtool file texinfo zip wget
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build tcpdump
|
||||
id: build_tcpdump
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_tcpdump.sh armhf
|
||||
|
||||
- name: List build directory
|
||||
run: ls -la /build
|
||||
|
||||
- name: List build artifacts
|
||||
run: ls -la /output
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.build_tcpdump.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_tcpdump.outputs.PACKAGED_NAME_PATH }}
|
31
.github/workflows/build-tcpdump-x86.yml
vendored
Normal file
31
.github/workflows/build-tcpdump-x86.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
name: tcpdump x86
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build tcpdump x86
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:i686-linux-musl
|
||||
steps:
|
||||
|
||||
- name: Install dependencies
|
||||
run: apk update && apk add bash git perl make cmake flex bison automake autoconf libtool file texinfo zip wget
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build tcpdump
|
||||
id: build_tcpdump
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_tcpdump.sh x86
|
||||
|
||||
- name: List build directory
|
||||
run: ls -la /build
|
||||
|
||||
- name: List build artifacts
|
||||
run: ls -la /output
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.build_tcpdump.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_tcpdump.outputs.PACKAGED_NAME_PATH }}
|
Loading…
Reference in a new issue