Closed nbenn closed 1 year ago
@MarcusKlik also, feel free to close this again if you think this is more of an issue of how to properly set up gh actions. I mainly raised the issue here b/c I was hoping that something might be improved on the fst
side of things, to make to build experience more robust.
Hi @nbenn, thanks for reporting, I would definitely like to add github CI to the fst
repository, so it's very relevant!
To test the check_full.yaml example, I've created a new repository and enabled github actions. The OSX build produces the error that you report above.
The errors are consitent with a linking problem where components build with libc++
are mixed with components build with libstdc++
(see for example this thread), but I haven't be able to fix that yet.
Any ideas or suggestions are very welcome!
(the test repository contains the new fstcore
package; from the next release onward, almost all c++ code will be contained in that package which will act as a 'base' package for fst
)
thanks!
All actions run correctly now
I assume this is closely related to #226 and at least in part to #238 but I decided to open a separate issue because #226 is marked as resolved (and focuses more on Conda) and #238 is more concerned with a follow up problem. The focus here is compiling with github actions using the check-full.yaml config example of r-lib/actions. The macOS/devel job, which attempts installing all dependencies from source fails because
fst
cannot be installedI did try to add a step for setting up the macOS job as recommended here using
At one time, I also had
brew install llvm
in there, which told meso I guess llvm is available?
Looking at the compiler output, R CMD Install does not seem to be picking up my env vars
I also tried adding
to my CI config, but this did not resolve my problem. I'm new to github actions, but according to the docs, this is the way to set env vars. It's entirely possible that the r-lib/actions R setup creates a
Makevars
file or that I do not understand how to define gh action steps or something else entirely. I haven't had the time to investigate further. Maybe someone else has ideas on how to resolve this?