36 lines
1.3 KiB
YAML
36 lines
1.3 KiB
YAML
|
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 }}
|
||
|
|