forked from pyswmm/Stormwater-Management-Model
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Processing update swmm v5.1.15 (pyswmm#61)
In addition to improvements described in ReleaseNotes this PR includes: - Improvements to cmake build system - Testing scripts previously found in /tools have migrated to their own repo - Support for GitHub Actions has been added
- Loading branch information
1 parent
ce668c6
commit afbb518
Showing
55 changed files
with
2,048 additions
and
813 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# | ||
# build-and-test.yml - GitHub Actions CI for swmm-solver | ||
# | ||
# Created: May 19, 2020 | ||
# Updated: May 31, 2020 | ||
# | ||
# Author: Michael E. Tryby | ||
# US EPA - ORD/CESER | ||
# | ||
|
||
name: Build and Test | ||
|
||
on: | ||
push: | ||
branches: [ master, develop, release, codedrop ] | ||
pull_request: | ||
branches: [ master, develop, release, codedrop ] | ||
|
||
jobs: | ||
win_build: | ||
runs-on: windows-2016 | ||
defaults: | ||
run: | ||
shell: cmd | ||
working-directory: ci-tools/windows | ||
|
||
env: | ||
OMP_NUM_THREADS: 1 | ||
PROJECT: swmm | ||
BUILD_HOME: build | ||
TEST_HOME: nrtests | ||
NRTESTS_URL: https://github.com/SWMM-Project/swmm-nrtestsuite | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Checkout submodule | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: michaeltryby/ci-tools | ||
path: ci-tools | ||
|
||
- name: Setup python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.7' | ||
|
||
- name: Install requirements | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install -r requirements-swmm.txt | ||
- name: Build and unit test | ||
run: make.cmd /t | ||
|
||
- name: Build for reg test | ||
run: make.cmd | ||
|
||
- name: Before reg test | ||
run: before-nrtest.cmd | ||
|
||
- name: Run reg test | ||
run: run-nrtests.cmd %GITHUB_RUN_ID%_%GITHUB_RUN_NUMBER% | ||
|
||
- name: Upload artifacts | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: nrtest-artifacts | ||
path: upload/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
|
||
# Eclipse Stuff | ||
.metadata/ | ||
.settings/ | ||
|
||
|
||
.DS_Store | ||
|
||
build*/ | ||
nrtest*/ | ||
|
||
*_export.h | ||
|
||
src/outfile/include/*_export.h | ||
src/solver/include/*_export.h | ||
|
||
build/ | ||
nrtests/ | ||
upload/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.