Added new workflows
This commit is contained in:
parent
92464c069e
commit
e268031c5e
26 changed files with 562 additions and 652 deletions
38
.github/workflows/build-gdb-aarch64.yml
vendored
38
.github/workflows/build-gdb-aarch64.yml
vendored
|
@ -1,38 +0,0 @@
|
|||
name: GDB AARCH64
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build GDB 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 qemu-arm qemu-aarch64 file texinfo zip
|
||||
|
||||
- name: Install build compiler
|
||||
run: /bin/sh -c "apk update && apk upgrade && apk add --no-cache curl rsync sudo util-linux && cd / && curl -so ${ARCH}-cross.tgz ${HOST}/${ARCH}-cross.tgz && tar -xf ${ARCH}-cross.tgz && rm ${ARCH}-cross.tgz && cd ${ARCH}-cross"
|
||||
env:
|
||||
ARCH: x86_64-linux-musl
|
||||
HOST: https://more.musl.cc/9.2.1/x86_64-linux-musl
|
||||
TEMP: /tmp
|
||||
USER: 0
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build GDB
|
||||
id: build_gdb
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_gdb.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_gdb.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_gdb.outputs.PACKAGED_NAME_PATH }}
|
38
.github/workflows/build-gdb-armhf.yml
vendored
38
.github/workflows/build-gdb-armhf.yml
vendored
|
@ -1,38 +0,0 @@
|
|||
name: GDB ARMHF
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build GDB 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 qemu-arm qemu-aarch64 file texinfo zip
|
||||
|
||||
- name: Install build compiler
|
||||
run: /bin/sh -c "apk update && apk upgrade && apk add --no-cache curl rsync sudo util-linux && cd / && curl -so ${ARCH}-cross.tgz ${HOST}/${ARCH}-cross.tgz && tar -xf ${ARCH}-cross.tgz && rm ${ARCH}-cross.tgz && cd ${ARCH}-cross"
|
||||
env:
|
||||
ARCH: x86_64-linux-musl
|
||||
HOST: https://more.musl.cc/9.2.1/x86_64-linux-musl
|
||||
TEMP: /tmp
|
||||
USER: 0
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build GDB
|
||||
id: build_gdb
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_gdb.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_gdb.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_gdb.outputs.PACKAGED_NAME_PATH }}
|
30
.github/workflows/build-gdb-x86.yml
vendored
30
.github/workflows/build-gdb-x86.yml
vendored
|
@ -1,30 +0,0 @@
|
|||
name: GDB x86
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build GDB 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 qemu-arm qemu-aarch64 file texinfo zip
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build GDB
|
||||
id: build_gdb
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_gdb.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_gdb.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_gdb.outputs.PACKAGED_NAME_PATH }}
|
30
.github/workflows/build-gdb-x86_64.yml
vendored
30
.github/workflows/build-gdb-x86_64.yml
vendored
|
@ -1,30 +0,0 @@
|
|||
name: GDB x86_64
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build GDB x86_64
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:x86_64-linux-musl
|
||||
steps:
|
||||
- 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
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build GDB
|
||||
id: build_gdb
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_gdb.sh x86_64
|
||||
|
||||
- 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_gdb.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_gdb.outputs.PACKAGED_NAME_PATH }}
|
149
.github/workflows/build-gdb.yml
vendored
Normal file
149
.github/workflows/build-gdb.yml
vendored
Normal file
|
@ -0,0 +1,149 @@
|
|||
name: GDB & gdbserver
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
|
||||
build-x86:
|
||||
name: Build GDB & gdbserver x86
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:i686-linux-musl
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Install build compiler
|
||||
run: /bin/sh -c "cd / && curl -so ${ARCH}-cross.tgz ${HOST}/${ARCH}-cross.tgz && tar -xf ${ARCH}-cross.tgz && rm ${ARCH}-cross.tgz && cd ${ARCH}-cross"
|
||||
env:
|
||||
ARCH: x86_64-linux-musl
|
||||
HOST: https://more.musl.cc/9.2.1/x86_64-linux-musl
|
||||
TEMP: /tmp
|
||||
USER: 0
|
||||
|
||||
- name: Install dependencies workaround
|
||||
run: /bin/sh -c "cd / && curl -so ${ARCH}-cross.tgz ${HOST}/${ARCH}-cross.tgz && tar -xf ${ARCH}-cross.tgz && rm ${ARCH}-cross.tgz && cd ${ARCH}-cross"
|
||||
env:
|
||||
ARCH: i686-linux-musl
|
||||
HOST: https://more.musl.cc/9.2.1/x86_64-linux-musl
|
||||
TEMP: /tmp
|
||||
USER: 0
|
||||
|
||||
- name: Build GDB
|
||||
id: build_gdb
|
||||
run: |
|
||||
export PATH="$PATH:/i686-linux-musl-cross/bin"
|
||||
$GITHUB_WORKSPACE/build/targets/build_gdb.sh x86
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.build_gdb.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_gdb.outputs.PACKAGED_NAME_PATH }}
|
||||
|
||||
build-x86_64:
|
||||
name: Build GDB & gdbserver x86_64
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:x86_64-linux-musl
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Build GDB
|
||||
id: build_gdb
|
||||
run: |
|
||||
$GITHUB_WORKSPACE/build/targets/build_gdb.sh x86_64
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.build_gdb.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_gdb.outputs.PACKAGED_NAME_PATH }}
|
||||
|
||||
|
||||
build-armhf:
|
||||
name: Build GDB & gdbserver ARMHF
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:arm-linux-musleabihf
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Install build compiler
|
||||
run: /bin/sh -c "cd / && curl -so ${ARCH}-cross.tgz ${HOST}/${ARCH}-cross.tgz && tar -xf ${ARCH}-cross.tgz && rm ${ARCH}-cross.tgz && cd ${ARCH}-cross"
|
||||
env:
|
||||
ARCH: x86_64-linux-musl
|
||||
HOST: https://more.musl.cc/9.2.1/x86_64-linux-musl
|
||||
TEMP: /tmp
|
||||
USER: 0
|
||||
|
||||
- name: Install dependencies workaround
|
||||
run: /bin/sh -c "cd / && curl -so ${ARCH}-cross.tgz ${HOST}/${ARCH}-cross.tgz && tar -xf ${ARCH}-cross.tgz && rm ${ARCH}-cross.tgz && cd ${ARCH}-cross"
|
||||
env:
|
||||
ARCH: arm-linux-musleabihf
|
||||
HOST: https://more.musl.cc/9.2.1/x86_64-linux-musl
|
||||
TEMP: /tmp
|
||||
USER: 0
|
||||
|
||||
- name: Build gdb
|
||||
id: build_gdb
|
||||
run: |
|
||||
export PATH="$PATH:/arm-linux-musleabihf-cross/bin"
|
||||
$GITHUB_WORKSPACE/build/targets/build_gdb.sh armhf
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.build_gdb.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_gdb.outputs.PACKAGED_NAME_PATH }}
|
||||
|
||||
|
||||
build-aarch64:
|
||||
name: Build GDB & gdbserver AARCH64
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:aarch64-linux-musl
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Install build compiler
|
||||
run: /bin/sh -c "cd / && curl -so ${ARCH}-cross.tgz ${HOST}/${ARCH}-cross.tgz && tar -xf ${ARCH}-cross.tgz && rm ${ARCH}-cross.tgz && cd ${ARCH}-cross"
|
||||
env:
|
||||
ARCH: x86_64-linux-musl
|
||||
HOST: https://more.musl.cc/9.2.1/x86_64-linux-musl
|
||||
TEMP: /tmp
|
||||
USER: 0
|
||||
|
||||
- name: Install dependencies workaround
|
||||
run: /bin/sh -c "cd / && curl -so ${ARCH}-cross.tgz ${HOST}/${ARCH}-cross.tgz && tar -xf ${ARCH}-cross.tgz && rm ${ARCH}-cross.tgz && cd ${ARCH}-cross"
|
||||
env:
|
||||
ARCH: aarch64-linux-musl
|
||||
HOST: https://more.musl.cc/9.2.1/x86_64-linux-musl
|
||||
TEMP: /tmp
|
||||
USER: 0
|
||||
|
||||
- name: Patch headers
|
||||
run: |
|
||||
patch /aarch64-linux-musl-cross/aarch64-linux-musl/include/asm/sigcontext.h < $GITHUB_WORKSPACE/patches/gdb/gdb-aarch64-header-sigcontext-fix.patch
|
||||
|
||||
- name: Build GDB
|
||||
id: build_gdb
|
||||
run: |
|
||||
export PATH="$PATH:/aarch64-linux-musl-cross/bin"
|
||||
$GITHUB_WORKSPACE/build/targets/build_gdb.sh aarch64
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.build_gdb.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_gdb.outputs.PACKAGED_NAME_PATH }}
|
35
.github/workflows/build-nmap-aarch64.yml
vendored
35
.github/workflows/build-nmap-aarch64.yml
vendored
|
@ -1,35 +0,0 @@
|
|||
name: Nmap AARCH64
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build Nmap 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 qemu-arm qemu-aarch64 file texinfo zip
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build Nmap
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_nmap.sh aarch64
|
||||
- name: List build directory
|
||||
run: ls -la /build
|
||||
- name: List build artifacts
|
||||
run: ls -la /output
|
||||
- name: Package Nmap
|
||||
id: package_nmap
|
||||
run: $GITHUB_WORKSPACE/package/targets/nmap/package.sh /output aarch64
|
||||
- name: List packaged artifacts
|
||||
run: ls -la /packaged
|
||||
- name: Upload tarball
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.package_nmap.outputs.PACKAGED_TARBALL }}
|
||||
path: ${{ steps.package_nmap.outputs.PACKAGED_TARBALL_PATH }}
|
||||
- name: Upload zip
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.package_nmap.outputs.PACKAGED_ZIP }}
|
||||
path: ${{ steps.package_nmap.outputs.PACKAGED_ZIP_PATH }}
|
||||
|
35
.github/workflows/build-nmap-armhf.yml
vendored
35
.github/workflows/build-nmap-armhf.yml
vendored
|
@ -1,35 +0,0 @@
|
|||
name: Nmap ARMHF
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build Nmap 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 qemu-arm qemu-aarch64 file texinfo zip
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build Nmap
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_nmap.sh armhf
|
||||
- name: List build directory
|
||||
run: ls -la /build
|
||||
- name: List build artifacts
|
||||
run: ls -la /output
|
||||
- name: Package Nmap
|
||||
id: package_nmap
|
||||
run: $GITHUB_WORKSPACE/package/targets/nmap/package.sh /output armhf
|
||||
- name: List packaged artifacts
|
||||
run: ls -la /packaged
|
||||
- name: Upload tarball
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.package_nmap.outputs.PACKAGED_TARBALL }}
|
||||
path: ${{ steps.package_nmap.outputs.PACKAGED_TARBALL_PATH }}
|
||||
- name: Upload zip
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.package_nmap.outputs.PACKAGED_ZIP }}
|
||||
path: ${{ steps.package_nmap.outputs.PACKAGED_ZIP_PATH }}
|
||||
|
35
.github/workflows/build-nmap-x86.yml
vendored
35
.github/workflows/build-nmap-x86.yml
vendored
|
@ -1,35 +0,0 @@
|
|||
name: Nmap x86
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build Nmap 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 qemu-arm qemu-aarch64 file texinfo zip
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build Nmap
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_nmap.sh x86
|
||||
- name: List build directory
|
||||
run: ls -la /build
|
||||
- name: List build artifacts
|
||||
run: ls -la /output
|
||||
- name: Package Nmap
|
||||
id: package_nmap
|
||||
run: $GITHUB_WORKSPACE/package/targets/nmap/package.sh /output x86
|
||||
- name: List packaged artifacts
|
||||
run: ls -la /packaged
|
||||
- name: Upload tarball
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.package_nmap.outputs.PACKAGED_TARBALL }}
|
||||
path: ${{ steps.package_nmap.outputs.PACKAGED_TARBALL_PATH }}
|
||||
- name: Upload zip
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.package_nmap.outputs.PACKAGED_ZIP }}
|
||||
path: ${{ steps.package_nmap.outputs.PACKAGED_ZIP_PATH }}
|
||||
|
34
.github/workflows/build-nmap-x86_64.yml
vendored
34
.github/workflows/build-nmap-x86_64.yml
vendored
|
@ -1,34 +0,0 @@
|
|||
name: Nmap x86_64
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build Nmap x86_64
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:x86_64-linux-musl
|
||||
steps:
|
||||
- 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
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build Nmap
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_nmap.sh x86_64
|
||||
- name: List build directory
|
||||
run: ls -la /build
|
||||
- name: List build artifacts
|
||||
run: ls -la /output
|
||||
- name: Package Nmap
|
||||
id: package_nmap
|
||||
run: $GITHUB_WORKSPACE/package/targets/nmap/package.sh /output x86_64
|
||||
- name: List packaged artifacts
|
||||
run: ls -la /packaged
|
||||
- name: Upload tarball
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.package_nmap.outputs.PACKAGED_TARBALL }}
|
||||
path: ${{ steps.package_nmap.outputs.PACKAGED_TARBALL_PATH }}
|
||||
- name: Upload zip
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.package_nmap.outputs.PACKAGED_ZIP }}
|
||||
path: ${{ steps.package_nmap.outputs.PACKAGED_ZIP_PATH }}
|
124
.github/workflows/build-nmap.yml
vendored
Normal file
124
.github/workflows/build-nmap.yml
vendored
Normal file
|
@ -0,0 +1,124 @@
|
|||
name: Nmap
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
|
||||
build-x86:
|
||||
name: Build Nmap x86
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:i686-linux-musl
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Build Nmap
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_nmap.sh x86
|
||||
|
||||
- name: Package Nmap
|
||||
id: package_nmap
|
||||
run: $GITHUB_WORKSPACE/package/targets/nmap/package.sh /output x86
|
||||
|
||||
- name: Upload tarball
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.package_nmap.outputs.PACKAGED_TARBALL }}
|
||||
path: ${{ steps.package_nmap.outputs.PACKAGED_TARBALL_PATH }}
|
||||
|
||||
- name: Upload zip
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.package_nmap.outputs.PACKAGED_ZIP }}
|
||||
path: ${{ steps.package_nmap.outputs.PACKAGED_ZIP_PATH }}
|
||||
|
||||
build-x86_64:
|
||||
name: Build Nmap x86_64
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:x86_64-linux-musl
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Build Nmap
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_nmap.sh x86_64
|
||||
|
||||
- name: Package Nmap
|
||||
id: package_nmap
|
||||
run: $GITHUB_WORKSPACE/package/targets/nmap/package.sh /output x86_64
|
||||
|
||||
- name: Upload tarball
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.package_nmap.outputs.PACKAGED_TARBALL }}
|
||||
path: ${{ steps.package_nmap.outputs.PACKAGED_TARBALL_PATH }}
|
||||
|
||||
- name: Upload zip
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.package_nmap.outputs.PACKAGED_ZIP }}
|
||||
path: ${{ steps.package_nmap.outputs.PACKAGED_ZIP_PATH }}
|
||||
|
||||
build-armhf:
|
||||
name: Build Nmap ARMHF
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:arm-linux-musleabihf
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Build Nmap
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_nmap.sh armhf
|
||||
|
||||
- name: Package Nmap
|
||||
id: package_nmap
|
||||
run: $GITHUB_WORKSPACE/package/targets/nmap/package.sh /output armhf
|
||||
|
||||
- name: Upload tarball
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.package_nmap.outputs.PACKAGED_TARBALL }}
|
||||
path: ${{ steps.package_nmap.outputs.PACKAGED_TARBALL_PATH }}
|
||||
|
||||
- name: Upload zip
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.package_nmap.outputs.PACKAGED_ZIP }}
|
||||
path: ${{ steps.package_nmap.outputs.PACKAGED_ZIP_PATH }}
|
||||
|
||||
build-aarch64:
|
||||
name: Build Nmap AARCH64
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:aarch64-linux-musl
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Build Nmap
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_nmap.sh aarch64
|
||||
|
||||
- name: Package Nmap
|
||||
id: package_nmap
|
||||
run: $GITHUB_WORKSPACE/package/targets/nmap/package.sh /output aarch64
|
||||
|
||||
- name: Upload tarball
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.package_nmap.outputs.PACKAGED_TARBALL }}
|
||||
path: ${{ steps.package_nmap.outputs.PACKAGED_TARBALL_PATH }}
|
||||
|
||||
- name: Upload zip
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.package_nmap.outputs.PACKAGED_ZIP }}
|
||||
path: ${{ steps.package_nmap.outputs.PACKAGED_ZIP_PATH }}
|
25
.github/workflows/build-openssh-aarch64.yml
vendored
25
.github/workflows/build-openssh-aarch64.yml
vendored
|
@ -1,25 +0,0 @@
|
|||
name: OpenSSH AARCH64
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build OpenSSH 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 qemu-arm qemu-aarch64 file texinfo zip
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build OpenSSH
|
||||
id: build_openssh
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_openssh.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_openssh.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_openssh.outputs.PACKAGED_NAME_PATH }}
|
25
.github/workflows/build-openssh-armhf.yml
vendored
25
.github/workflows/build-openssh-armhf.yml
vendored
|
@ -1,25 +0,0 @@
|
|||
name: OpenSSH ARMHF
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build OpenSSH 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 qemu-arm qemu-aarch64 file texinfo zip
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build OpenSSH
|
||||
id: build_openssh
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_openssh.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_openssh.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_openssh.outputs.PACKAGED_NAME_PATH }}
|
25
.github/workflows/build-openssh-x86.yml
vendored
25
.github/workflows/build-openssh-x86.yml
vendored
|
@ -1,25 +0,0 @@
|
|||
name: OpenSSH x86
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build OpenSSH 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 qemu-arm qemu-aarch64 file texinfo zip
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build OpenSSH
|
||||
id: build_openssh
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_openssh.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_openssh.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_openssh.outputs.PACKAGED_NAME_PATH }}
|
25
.github/workflows/build-openssh-x86_64.yml
vendored
25
.github/workflows/build-openssh-x86_64.yml
vendored
|
@ -1,25 +0,0 @@
|
|||
name: OpenSSH x86_64
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build OpenSSH x86_64
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:x86_64-linux-musl
|
||||
steps:
|
||||
- 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
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build OpenSSH
|
||||
id: build_openssh
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_openssh.sh x86_64
|
||||
- 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_openssh.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_openssh.outputs.PACKAGED_NAME_PATH }}
|
87
.github/workflows/build-openssh.yml
vendored
Normal file
87
.github/workflows/build-openssh.yml
vendored
Normal file
|
@ -0,0 +1,87 @@
|
|||
name: OpenSSH
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build-x86:
|
||||
name: Build OpenSSH x86
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:i686-linux-musl
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Build OpenSSH
|
||||
id: build_openssh
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_openssh.sh x86
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.build_openssh.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_openssh.outputs.PACKAGED_NAME_PATH }}
|
||||
|
||||
build-x86_64:
|
||||
name: Build OpenSSH x86_64
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:x86_64-linux-musl
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Build OpenSSH
|
||||
id: build_openssh
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_openssh.sh x86_64
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.build_openssh.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_openssh.outputs.PACKAGED_NAME_PATH }}
|
||||
|
||||
build-armhf:
|
||||
name: Build OpenSSH ARMHF
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:arm-linux-musleabihf
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Build OpenSSH
|
||||
id: build_openssh
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_openssh.sh armhf
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.build_openssh.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_openssh.outputs.PACKAGED_NAME_PATH }}
|
||||
|
||||
build-aarch64:
|
||||
name: Build OpenSSH AARCH64
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:aarch64-linux-musl
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Build OpenSSH
|
||||
id: build_openssh
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_openssh.sh aarch64
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.build_openssh.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_openssh.outputs.PACKAGED_NAME_PATH }}
|
34
.github/workflows/build-socat-aarch64.yml
vendored
34
.github/workflows/build-socat-aarch64.yml
vendored
|
@ -1,34 +0,0 @@
|
|||
name: socat AARCH64
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build socat 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 qemu-arm qemu-aarch64 file texinfo zip
|
||||
- name: Install testing dependencies
|
||||
run: apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing yodl
|
||||
- name: Install build compiler
|
||||
run: /bin/sh -c "apk update && apk upgrade && apk add --no-cache curl rsync sudo util-linux && cd / && curl -so ${ARCH}-cross.tgz ${HOST}/${ARCH}-cross.tgz && tar -xf ${ARCH}-cross.tgz && rm ${ARCH}-cross.tgz && cd ${ARCH}-cross"
|
||||
env:
|
||||
ARCH: x86_64-linux-musl
|
||||
HOST: https://more.musl.cc/9.2.1/x86_64-linux-musl
|
||||
TEMP: /tmp
|
||||
USER: 0
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build socat
|
||||
id: build_socat
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_socat.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_socat.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_socat.outputs.PACKAGED_NAME_PATH }}
|
34
.github/workflows/build-socat-armhf.yml
vendored
34
.github/workflows/build-socat-armhf.yml
vendored
|
@ -1,34 +0,0 @@
|
|||
name: socat ARMHF
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build socat 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 qemu-arm qemu-aarch64 file texinfo zip
|
||||
- name: Install testing dependencies
|
||||
run: apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing yodl
|
||||
- name: Install build compiler
|
||||
run: /bin/sh -c "apk update && apk upgrade && apk add --no-cache curl rsync sudo util-linux && cd / && curl -so ${ARCH}-cross.tgz ${HOST}/${ARCH}-cross.tgz && tar -xf ${ARCH}-cross.tgz && rm ${ARCH}-cross.tgz && cd ${ARCH}-cross"
|
||||
env:
|
||||
ARCH: x86_64-linux-musl
|
||||
HOST: https://more.musl.cc/9.2.1/x86_64-linux-musl
|
||||
TEMP: /tmp
|
||||
USER: 0
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build socat
|
||||
id: build_socat
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_socat.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_socat.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_socat.outputs.PACKAGED_NAME_PATH }}
|
27
.github/workflows/build-socat-x86.yml
vendored
27
.github/workflows/build-socat-x86.yml
vendored
|
@ -1,27 +0,0 @@
|
|||
name: socat x86
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build socat 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 qemu-arm qemu-aarch64 file texinfo zip
|
||||
- name: Install testing dependencies
|
||||
run: apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing yodl
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build socat
|
||||
id: build_socat
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_socat.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_socat.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_socat.outputs.PACKAGED_NAME_PATH }}
|
27
.github/workflows/build-socat-x86_64.yml
vendored
27
.github/workflows/build-socat-x86_64.yml
vendored
|
@ -1,27 +0,0 @@
|
|||
name: socat x86_64
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build socat x86_64
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:x86_64-linux-musl
|
||||
steps:
|
||||
- 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
|
||||
- name: Install testing dependencies
|
||||
run: apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing yodl
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build socat
|
||||
id: build_socat
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_socat.sh x86_64
|
||||
- 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_socat.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_socat.outputs.PACKAGED_NAME_PATH }}
|
115
.github/workflows/build-socat.yml
vendored
Normal file
115
.github/workflows/build-socat.yml
vendored
Normal file
|
@ -0,0 +1,115 @@
|
|||
name: socat
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build-x86:
|
||||
name: Build socat x86
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:i686-linux-musl
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Install testing dependencies
|
||||
run: apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing yodl
|
||||
|
||||
- name: Build socat
|
||||
id: build_socat
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_socat.sh x86
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.build_socat.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_socat.outputs.PACKAGED_NAME_PATH }}
|
||||
|
||||
build-x86_64:
|
||||
name: Build socat x86_64
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:x86_64-linux-musl
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Install testing dependencies
|
||||
run: apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing yodl
|
||||
|
||||
- name: Build socat
|
||||
id: build_socat
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_socat.sh x86_64
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.build_socat.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_socat.outputs.PACKAGED_NAME_PATH }}
|
||||
|
||||
build-armhf:
|
||||
name: Build socat ARMHF
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:arm-linux-musleabihf
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Install testing dependencies
|
||||
run: apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing yodl
|
||||
|
||||
- name: Install build compiler
|
||||
run: /bin/sh -c "apk update && apk upgrade && apk add --no-cache curl rsync sudo util-linux && cd / && curl -so ${ARCH}-cross.tgz ${HOST}/${ARCH}-cross.tgz && tar -xf ${ARCH}-cross.tgz && rm ${ARCH}-cross.tgz && cd ${ARCH}-cross"
|
||||
env:
|
||||
ARCH: x86_64-linux-musl
|
||||
HOST: https://more.musl.cc/9.2.1/x86_64-linux-musl
|
||||
TEMP: /tmp
|
||||
USER: 0
|
||||
|
||||
- name: Build socat
|
||||
id: build_socat
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_socat.sh armhf
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.build_socat.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_socat.outputs.PACKAGED_NAME_PATH }}
|
||||
|
||||
build-aarch64:
|
||||
name: Build socat AARCH64
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:aarch64-linux-musl
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Install testing dependencies
|
||||
run: apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing yodl
|
||||
|
||||
- name: Install build compiler
|
||||
run: /bin/sh -c "apk update && apk upgrade && apk add --no-cache curl rsync sudo util-linux && cd / && curl -so ${ARCH}-cross.tgz ${HOST}/${ARCH}-cross.tgz && tar -xf ${ARCH}-cross.tgz && rm ${ARCH}-cross.tgz && cd ${ARCH}-cross"
|
||||
env:
|
||||
ARCH: x86_64-linux-musl
|
||||
HOST: https://more.musl.cc/9.2.1/x86_64-linux-musl
|
||||
TEMP: /tmp
|
||||
USER: 0
|
||||
|
||||
- name: Build socat
|
||||
id: build_socat
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_socat.sh aarch64
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.build_socat.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_socat.outputs.PACKAGED_NAME_PATH }}
|
31
.github/workflows/build-strace-x86_64.yml
vendored
31
.github/workflows/build-strace-x86_64.yml
vendored
|
@ -1,31 +0,0 @@
|
|||
name: strace x86_64
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Build strace x86_64
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:x86_64-linux-musl
|
||||
steps:
|
||||
|
||||
- name: Build strace
|
||||
run: |
|
||||
apk update && apk add git make gawk autoconf automake coreutils
|
||||
git clone https://github.com/strace/strace
|
||||
cd strace
|
||||
git checkout v5.7
|
||||
./bootstrap
|
||||
export LDFLAGS='-static -pthread'
|
||||
./configure
|
||||
make CFLAGS="-w" -j4
|
||||
|
||||
- name: List build dir
|
||||
run: |
|
||||
pwd
|
||||
ls -la
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: strace-5.7
|
||||
path: /__w/static-toolbox/static-toolbox/strace/strace
|
31
.github/workflows/build-tcpdump-aarch64.yml
vendored
31
.github/workflows/build-tcpdump-aarch64.yml
vendored
|
@ -1,31 +0,0 @@
|
|||
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
31
.github/workflows/build-tcpdump-armhf.yml
vendored
|
@ -1,31 +0,0 @@
|
|||
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
31
.github/workflows/build-tcpdump-x86.yml
vendored
|
@ -1,31 +0,0 @@
|
|||
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 }}
|
31
.github/workflows/build-tcpdump-x86_64.yml
vendored
31
.github/workflows/build-tcpdump-x86_64.yml
vendored
|
@ -1,31 +0,0 @@
|
|||
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:
|
||||
|
||||
- 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
|
||||
|
||||
- name: Build tcpdump
|
||||
id: build_tcpdump
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_tcpdump.sh x86_64
|
||||
|
||||
- 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 }}
|
87
.github/workflows/build-tcpdump.yml
vendored
Normal file
87
.github/workflows/build-tcpdump.yml
vendored
Normal file
|
@ -0,0 +1,87 @@
|
|||
name: tcpdump
|
||||
on:
|
||||
workflow_dispatch
|
||||
jobs:
|
||||
build-x86:
|
||||
name: Build tcpdump x86
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:i686-linux-musl
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Build tcpdump
|
||||
id: build_tcpdump
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_tcpdump.sh x86
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.build_tcpdump.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_tcpdump.outputs.PACKAGED_NAME_PATH }}
|
||||
|
||||
build-x86_64:
|
||||
name: Build tcpdump x86_64
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:x86_64-linux-musl
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Build tcpdump
|
||||
id: build_tcpdump
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_tcpdump.sh x86_64
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.build_tcpdump.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_tcpdump.outputs.PACKAGED_NAME_PATH }}
|
||||
|
||||
build-armhf:
|
||||
name: Build tcpdump ARMHF
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:arm-linux-musleabihf
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Build tcpdump
|
||||
id: build_tcpdump
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_tcpdump.sh armhf
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.build_tcpdump.outputs.PACKAGED_NAME }}
|
||||
path: ${{ steps.build_tcpdump.outputs.PACKAGED_NAME_PATH }}
|
||||
|
||||
build:
|
||||
name: Build tcpdump AARCH64
|
||||
runs-on: ubuntu-latest
|
||||
container: muslcc/x86_64:aarch64-linux-musl
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apk update && sudo apk add bash && sudo bash build/install_deps_alpine.sh
|
||||
|
||||
- name: Build tcpdump
|
||||
id: build_tcpdump
|
||||
run: $GITHUB_WORKSPACE/build/targets/build_tcpdump.sh aarch64
|
||||
|
||||
- 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