Closed Felixmil closed 6 months ago
I think we have to be observant about this. I believe the tests are not very reliable, but let's start with this.
Fixes #22
R actions should start only after binaries successfully built. Will only work once the C# building workflow is in default branch (cf https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run)
Note: This event will only trigger a workflow run if the workflow file is on the default branch.
@rwmcintosh The .so
file is apparently not commited during the Linux step: https://github.com/Open-Systems-Pharmacology/rSharp/actions/runs/9059706133/job/24887856458#step:8:28
However the .dll
files are commited during the Windows build: https://github.com/Open-Systems-Pharmacology/rSharp/actions/runs/9059706133/job/24887924340#step:10:32
@rwmcintosh The
.so
file is apparently not commited during the Linux step: https://github.com/Open-Systems-Pharmacology/rSharp/actions/runs/9059706133/job/24887856458#step:8:28However the
.dll
files are commited during the Windows build: https://github.com/Open-Systems-Pharmacology/rSharp/actions/runs/9059706133/job/24887924340#step:10:32
It could be because gcc builds the binary equivalent when source is unchanged where msvc does not. I will commit a change in the C++ cod to test it today, but then I need to change it back again before merging.
@rwmcintosh The
.so
file is apparently not commited during the Linux step: https://github.com/Open-Systems-Pharmacology/rSharp/actions/runs/9059706133/job/24887856458#step:8:28 However the.dll
files are commited during the Windows build: https://github.com/Open-Systems-Pharmacology/rSharp/actions/runs/9059706133/job/24887924340#step:10:32It could be because gcc builds the binary equivalent when source is unchanged where msvc does not. I will commit a change in the C++ cod to test it today, but then I need to change it back again before merging.
@Felixmil confirmed the above. Changes in cpp source will trigger a commit of .so. All Linux and Windows build/commit is complete.
C# binaries are now built by github actions and pushed to repository (in PR branches, before merge)
@PavelBal Can we merge ?
Let's try out.
Fixes #22