build libs / win & linux

This commit is contained in:
Marios S. Kyriakou
2022-07-28 23:37:10 +03:00
parent 44ad2488e4
commit 0bf09b525f
3 changed files with 49 additions and 1 deletions

22
.github/workflows/win32.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: epanet2-win32
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: setup_build_dir
run: mkdir buildproducts
- name: cmake
working-directory: ./buildproducts
run: cmake .. -A Win32 && cmake --build . --config Release
- uses: actions/upload-artifact@v2
with:
name: epanet2-win32
path: D:\a\EPANET\EPANET\buildproducts\bin\Release\