-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add pixi.toml environment file, equivalent to conda environment.yml * pixi.toml also defines tasks: aliases for development commands * checkin pixi lock file, add ci workflow to update it monthly * use pixi tasks in ci actions, scripts, workflows * update developer docs with pixi info
- Loading branch information
1 parent
9721877
commit 7bca1de
Showing
23 changed files
with
9,915 additions
and
316 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,14 @@ | ||
import sys | ||
import os | ||
sys.path.insert(0, os.path.abspath(os.path.join("..", "doc"))) | ||
from version import __version__ | ||
print("Update the Doxyfile with the latest version number") | ||
with open("Doxyfile", "r") as fp: | ||
lines = fp.readlines() | ||
|
||
tag = "PROJECT_NUMBER" | ||
with open("Doxyfile", "w") as fp: | ||
for line in lines: | ||
if tag in line: | ||
line = '{} = "version {}"\n'.format(tag, __version__) | ||
fp.write(line) |
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
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,5 +1,5 @@ | ||
set FC=ifort | ||
cd "%GITHUB_WORKSPACE%\modflow6" | ||
micromamba run -r "C:\Users\runneradmin\micromamba" -n modflow6 meson setup builddir -Ddebug=false -Dparallel=true --prefix=%CD% --libdir=bin | ||
micromamba run -r "C:\Users\runneradmin\micromamba" -n modflow6 meson install -C builddir | ||
micromamba run -r "C:\Users\runneradmin\micromamba" -n modflow6 meson test --verbose --no-rebuild -C builddir | ||
pixi run setup-release-parallel builddir | ||
pixi run install-build builddir | ||
pixi run test-build builddir |
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,4 +1,4 @@ | ||
cd "%GITHUB_WORKSPACE%\modflow6\autotest" | ||
where libpetsc.dll | ||
ldd ..\bin\mf6 | ||
micromamba run -r "C:\Users\runneradmin\micromamba" -n modflow6 pytest -v -n auto --parallel -k "test_par" --durations 0 --keep-failed .failed | ||
pixi run autotest-parallel |
Oops, something went wrong.