Skip to content

Update main.cpp

Update main.cpp #5

Workflow file for this run

name: Build DLL
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install MinGW
run: choco install mingw
- name: Compile DLL
run: |
mkdir -p ./build
g++ -shared -o ./build/main.dll ./src/main.cpp
g++ -shared -o ./build/test.dll ./src/test.cpp
- name: Upload DLL artifact
uses: actions/upload-artifact@v4
with:
name: cpp_bindings_windows
path: build/**/*.dll