2020-07-21 07:39:32 +00:00
|
|
|
name: tcpdump x86_64
|
|
|
|
on:
|
|
|
|
workflow_dispatch
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Build tcpdump x86_64
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container: muslcc/x86_64:x86_64-linux-musl
|
|
|
|
steps:
|
|
|
|
|
2020-07-24 08:24:19 +00:00
|
|
|
- name: Install dependencies
|
|
|
|
run: apk update && apk add bash git perl make cmake flex bison automake autoconf libtool qemu-arm qemu-aarch64 file texinfo zip wget
|
|
|
|
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2020-07-21 07:39:32 +00:00
|
|
|
- name: Build tcpdump
|
2020-07-24 08:24:19 +00:00
|
|
|
id: build_tcpdump
|
|
|
|
run: $GITHUB_WORKSPACE/build/targets/build_tcpdump.sh x86_64
|
|
|
|
|
|
|
|
- name: List build directory
|
|
|
|
run: ls -la /build
|
2020-07-21 07:39:32 +00:00
|
|
|
|
2020-07-24 08:24:19 +00:00
|
|
|
- name: List build artifacts
|
|
|
|
run: ls -la /output
|
2020-07-21 07:39:32 +00:00
|
|
|
|
|
|
|
- name: Upload artifacts
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
2020-07-24 08:24:19 +00:00
|
|
|
name: ${{ steps.build_tcpdump.outputs.PACKAGED_NAME }}
|
|
|
|
path: ${{ steps.build_tcpdump.outputs.PACKAGED_NAME_PATH }}
|