Skip to content

Commit 219bc3e

Browse files
authored
Create build-windows.yml
1 parent 94e118c commit 219bc3e

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build masscan for Windows
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
workflow_dispatch: # allow manual trigger
7+
8+
jobs:
9+
build:
10+
runs-on: windows-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Setup MSBuild
15+
uses: microsoft/setup-msbuild@v1
16+
17+
- name: Build masscan
18+
shell: cmd
19+
run: |
20+
cd %GITHUB_WORKSPACE%
21+
nmake -f Makefile.msvc all
22+
23+
- name: Upload artifact
24+
uses: actions/upload-artifact@v4
25+
with:
26+
name: masscan-win64
27+
path: bin\masscan.exe

0 commit comments

Comments
 (0)