From 235c902c688d62760c48f5fcd7f7815bec8e2d64 Mon Sep 17 00:00:00 2001 From: takeshix Date: Fri, 24 Jul 2020 10:05:58 +0200 Subject: [PATCH] Added additional tcpdump workflows --- .github/workflows/build-tcpdump-aarch64.yml | 31 +++++++++++++++++++++ .github/workflows/build-tcpdump-armhf.yml | 31 +++++++++++++++++++++ .github/workflows/build-tcpdump-x86.yml | 31 +++++++++++++++++++++ 3 files changed, 93 insertions(+) create mode 100644 .github/workflows/build-tcpdump-aarch64.yml create mode 100644 .github/workflows/build-tcpdump-armhf.yml create mode 100644 .github/workflows/build-tcpdump-x86.yml diff --git a/.github/workflows/build-tcpdump-aarch64.yml b/.github/workflows/build-tcpdump-aarch64.yml new file mode 100644 index 0000000..5771e6a --- /dev/null +++ b/.github/workflows/build-tcpdump-aarch64.yml @@ -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 }} diff --git a/.github/workflows/build-tcpdump-armhf.yml b/.github/workflows/build-tcpdump-armhf.yml new file mode 100644 index 0000000..f66d8a2 --- /dev/null +++ b/.github/workflows/build-tcpdump-armhf.yml @@ -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 }} diff --git a/.github/workflows/build-tcpdump-x86.yml b/.github/workflows/build-tcpdump-x86.yml new file mode 100644 index 0000000..b071533 --- /dev/null +++ b/.github/workflows/build-tcpdump-x86.yml @@ -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 }}