Skip to content

WIP

WIP #24

Workflow file for this run

name: Build
on:
push:
pull_request:
jobs:
build-windows:
name: Build Windows
runs-on: windows-latest
steps:
- name: Checkout mswin32-aux
run: |
svn checkout https://svn.nmap.org/nmap-mswin32-aux
ls
- name: test
run: |
pwd
ls
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Checkout
uses: actions/checkout@v4
- name: test
run: |
pwd
ls
ls ../
- name: Compile pcre2
working-directory: mswin32
run: |
mkdir build-pcre2
cd build-pcre2
cmake.exe -A Win32 ..\..\libpcre\
- name: Build
working-directory: mswin32
run: |
msbuild -nologo nmap.sln /p:Configuration="Release"
# build-ubuntu:
# name: Build Ubuntu
# runs-on: ubuntu-latest
# strategy:
# matrix:
# config:
# - "--without-openssl"
# - "--without-libssh2"
# - "--without-liblua"
# - "--without-zenmap"
# - "--without-ndiff"
# - "--with-nping"
# - "--with-ncat"
# steps:
# - name: Install Deps
# run: |
# sudo apt install python3-build
# # python3-build installed from apt is currently broken
# # Workaround is to just update it
# #
# # Can be dropped eventually once it's correctly handled.
# python3 -m pip install --upgrade build
# - name: Checkout
# uses: actions/checkout@v4
# - name: Configure
# run: ./configure ${{ matrix.config }}
# - name: Build
# run: make
# - name: Check
# run: make check
# - name: Install
# run: sudo make install