-
Notifications
You must be signed in to change notification settings - Fork 40
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
main.yml #316
main.yml #316
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this is neat! The code looks correct to me, although I'm not sure why the GitHub Actions job isn't triggered with the PR.
I'd rename the file to something more generic like main.yml
since other jobs in the travis workflow need to be also included in this. Are you able to do the same for the other jobs too?
I will work on the other jobs and commit them ASAP. |
@Sudha247 @shakthimaan please review the latest I have made to this commit |
add the other jobs from Drone CI to GitHub Actions
@Sudha247 @shakthimaan An attempt to fix #275 . I have added the other jobs from Drone CI to GitHub actions please take a look at them :) |
Thanks @Abdulrahim2567! I'll try to activate this run on a local branch and get back to you. |
Thanks for having a look at the pull request. I will be waiting for your feedback. @Sudha247 |
Relaxed on [push] constraint to trigger the workflow on all branches
@Sudha247 just relaxed the on [push] constraint for the workflow to make it run on all branch branches, Could you please take a look at it? :) |
@Sudha247 I also tested it on my branch and it looks great. There is a new pull request coming from my branch starting with Abdulrahim2567 |
Please do not create multiple pull requests for the same issue. We will lose the conversation and the context. You can choose to |
Added a newline between each job for clarity and readability purposes
@shakthimaan Hello sir, I already closed the pull request just so we don't lose context of this PR :) |
Setting workflow to use ocaml-setup
@shakthimaan @Sudha247 Hi, I just looked up this workflow run and I got an unexpected error, what could be wrong?. Please take a look:
|
Been trying to figure out what went wrong for hours now, any pointers to a possible solution? |
Removed every instance of "sudo chown -R opam" from main.yml as it is not supported on GitHub Actions.
@Sudha247 @shakthimaan I just updated this workflow and removed every instance of Any idea on what could've gone wrong? |
Discussed this with @shakthimaan offline, I suspect the run might be failing due to the CPU number 5 specified here. GitHub Actions runners typically have only 2 cores, making only 0 and 1 valid CPU numbers. Drone seems to fallback on the available CPUs, but GitHub Actions doesn't. We need to find a viable way to change this in the CI. |
@Sudha247 Ahh I see. What do you think we should do now. Is there anyway which can us to solve this issue? |
For each of the entries in the main.yml file, before the |
Added a `sed` command to replace `--cpu-list 5` to `--cpu-list 1` in json file the workflow uses.
Hi, Just added the `sed` to replace the `--cpu-list 5` to `--cpu-list 1`
@shakthimaan @Sudha247 I just added a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sed
command to replace CPU number is correct, but it's called before the generating the config file. Some suggestions are below to fix it. The same applies for all the sed
commands used here.
Modified the `sed` command to edit `run_config_filtered.json` by replacing `--cpu-list 5` by `--cpu-list 1` Co-authored-by: Sudha Parimala <sudharg247@gmail.com>
Modified the `sed` commands to edit the `.json` files used by all jobs by changing all `--cpu-list 5` to `--cpu-list 1`
@Sudha247 @shakthimaan Hello, I monitored the run which was triggered after modifying all The runs Passed so far |
In future, please test the changes locally on your system to see if it works, before pushing an update to the PR.
This could be related, pallets/markupsafe#284. |
@shakthimaan okay no problem sir, I will keep that in mind before any future PR |
Installed `markupsafe 2.0.1` instead of `markupsafe 2.1.1`
@Sudha247 @shakthimaan I just updated the workflow to use |
added `OPT_WAIT=0` to avoid load average checks for the CI runs
Please check out the Ocaml 5.0.0+trunk+serial yml file I tried to move from the Drone CI to GitHub Actions.