build libs / win & linux
This commit is contained in:
6
.github/workflows/ccpp.yml
vendored
6
.github/workflows/ccpp.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: C/C++ CI
|
name: linux
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
@@ -17,3 +17,7 @@ jobs:
|
|||||||
- name: make
|
- name: make
|
||||||
working-directory: ./buildproducts
|
working-directory: ./buildproducts
|
||||||
run: make
|
run: make
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: libepanet-output
|
||||||
|
path: /home/runner/work/EPANET/EPANET/buildproducts/
|
||||||
|
|||||||
22
.github/workflows/win32.yml
vendored
Normal file
22
.github/workflows/win32.yml
vendored
Normal 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\
|
||||||
22
.github/workflows/win64.yml
vendored
Normal file
22
.github/workflows/win64.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
name: epanet2-win64
|
||||||
|
|
||||||
|
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 x64 && cmake --build . --config Release
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: epanet2-win64
|
||||||
|
path: D:\a\EPANET\EPANET\buildproducts\bin\Release\
|
||||||
Reference in New Issue
Block a user