goenv
goenv copied to clipboard
Add github action
to get osx working, you can use the Brewfile
in the base of the repo and modify the path like is done in travis to include GNU make vs BSD make
@syndbg is there any way to get this some attention? waiting on travis-ci and it's averaging an hour wait before builds even start
I'll check where I left it off. Last time MacOS agents were barely present, hence why I stopped progress.
Ah, that makes sense. Good luck and thank you!
Hi @syndbg, is there anything I can do to help with this?
general comment in your Makefile @syndbg

If you want to retain state in a Makefile line-by-line, then you need to escape each line with \
for example:
test-goenv: bats
set -e; \
PATH="./bats-core/bin:$$PATH"; \
if [ -n "$$GOENV_NATIVE_EXT" ]; then \
./src/configure; \
make -C src; \
fi; \
test_target=$${test_target:-test}; \
exec bats $${CI:+--tap} $$test_target;