Skip to content

Commit

Permalink
add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeWaka committed Sep 13, 2024
1 parent a0740d0 commit 7c44993
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build and Upload DLL

on: [push, pull_request]

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Visual Studio
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64

- name: Build DLL
run: cl.exe /nologo /std:c11 /O2 /LD /DNDEBUG prof.c ws2_32.lib /Fe:prof.dll

- name: Upload prof.dll
uses: actions/upload-artifact@v4
with:
name: prof-dll
path: prof.dll

0 comments on commit 7c44993

Please sign in to comment.