Open
Description
Bug Report
When preparing for my next release of the kube-client.cr
i am unable to run crystal spec
in github actions due to the following error:
cc: error: N-amedT-uple40spe-7d7e8234f0de678a2b8c7d292c4c5492.o: No such file or directory
Error: execution of command failed with code: 1: `cc "${@}" -o /home/runner/.cache/crystal/crystal-run-spec.tmp -rdynamic -L/home/runner/work/_temp/crystal-1.5-true-undefined/bin/../lib/crystal -lz `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libcrypto || printf %s '-lcrypto'` -lyaml -lxml2 -lpcre -lm -lgc -lpthread -levent -lrt -lpthread -ldl`
Error: Process completed with exit code 1.
I've truncated the list of No such file or directory
errors thrown. You can see the full output
Successful action run on master
: https://github.com/spoved/kube-client.cr/actions/runs/2819264691
Failed action on v0.4.5
: https://github.com/spoved/kube-client.cr/runs/7708870098?check_suite_focus=true
Here is the PR with reproducible code and changes that may cause the issue: spoved/kube-client.cr#10
Both runs used the same crystal version:
shards --version
Shards 0.17.0 [85b30b5] (2022-03-24)
crystal --version
Crystal 1.4.0 [ef05e26d6] (2022-04-06)
LLVM: 10.0.0
Default target: x86_64-unknown-linux-gnu