Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: update workflow file to use modflowpy/install-intelfortran-action #15

Merged
merged 6 commits into from
Dec 10, 2022
Prev Previous commit
ci: update workflow file to use modflowpy/install-intelfortran-action
Delete unnecessary intel scripts.
  • Loading branch information
jdhughes-usgs committed Dec 10, 2022
commit 9dc6962ee5e87df99a74f0691b95bedcfbf2c1a3
19 changes: 10 additions & 9 deletions .github/common/build_executables.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ def mfpymake_run_command(args) -> bool:


if __name__ == "__main__":
cmd = [
"make-code-json",
"-f",
f"{get_ostag()}/code.json",
"--verbose",
]

if not mfpymake_run_command(cmd):
raise RuntimeError(f"could not run {cmd[0]}")

cmd = [
"make-program",
":",
Expand All @@ -51,12 +61,3 @@ def mfpymake_run_command(args) -> bool:
if not mfpymake_run_command(cmd):
raise RuntimeError("could not build the executables")

cmd = [
"make-code-json",
"-f",
f"code.json",
"--verbose",
]

if not mfpymake_run_command(cmd):
raise RuntimeError(f"could not run {cmd[0]}")