Help a newbie: How to execute an executable? #25537
-
All, I feel really stupid right now, but for the life of me I can’t figure out how to do the most basic things with GitHub Actions. To play around, I setup a very boring Fortran project (https://github.com/mathomp4/PreciseSum) and in there I have a code that you can do ‘make’ and the run ‘./test.exe’. So, I tried to follow a few examples online to build it (no Fortran in the starter workflows), and got to:
It seems to build just fine, but trying to execute it fails:
How does one do this with GitHub Actions? Or can one? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You said that “I have a code that you can do ‘make’ and the run ‘./test.exe’. “ After build the Fortran project, test.exe is generated . And you can see it in List files step. In run step, you use wrong text.exe. Correct it to test.exe will fix your issue. |
Beta Was this translation helpful? Give feedback.
-
Sigh. I am an idiot. Looking at all the hard issues and searching docs and, typo! |
Beta Was this translation helpful? Give feedback.
You said that “I have a code that you can do ‘make’ and the run ‘./test.exe’. “
After build the Fortran project, test.exe is generated . And you can see it in List files step.
In run step, you use wrong text.exe. Correct it to test.exe will fix your issue.