My github workflow throws: No such file or directory, but only in linux.

Hi,

I’m using the @qno workflow file as adviced to me by @curlymorphic. I removed the publish part for now as it gave me the same problems as @davevenom reported (Unable to get my build chain to publish - #12 by DaveVenom) and will catch up with that thread once I tackled the current problem.

Previously it would complete all jobs, but after some changes the mac jobs still run fine, the linux job throws:

x86_64-ubuntu16.04-linux-gnu-g++ -std=c++11 -Wsuggest-override  -fPIC -I/home/build/rack-plugin-toolchain/Rack-SDK-lin-x64/include -I/home/build/rack-plugin-toolchain/Rack-SDK-lin-x64/dep/include -fno-gnu-unique -MMD -MP -g -O3 -funsafe-math-optimizations -fno-omit-frame-pointer -Wall -Wextra -Wno-unused-parameter -DARCH_X64 -march=nehalem -DARCH_LIN  -c -o build/src/PhaseTrigg.cpp.o src/PhaseTrigg.cpp
src/PhaseTrigg.cpp:6:10: fatal error: ReXpander.hpp: No such file or directory
    6 | #include "ReXpander.hpp"
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [/home/build/rack-plugin-toolchain/Rack-SDK-lin-x64/compile.mk:87: build/src/PhaseTrigg.cpp.o] Error 1
make[1]: Leaving directory '/__w/SIM/SIM'
make: *** [Makefile:186: plugin-build-linux-x64] Error 2
Error: Process completed with exit code 2.

(hopting->hoping)

And the windows build is canceled.

The changes between success and failure are: create a new branch (dev) besides master and push my development version to it.

I stayed away from tags this time and updated the version in my json to "version": "2.0.1",

Should I install linux and test what’s wrong, or is there something else going on that I missed?

Thanks.

Likely a case-sensitive filesystem thing, make sure your file is named ReXpander.hpp and not something like Rexpander.hpp or rexpander.hpp

4 Likes

Ah yes of course. That must be it. Thanks.