goenv icon indicating copy to clipboard operation
goenv copied to clipboard

Add github action

Open syndbg opened this issue 4 years ago • 5 comments

syndbg avatar Feb 27 '20 12:02 syndbg

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

stephengroat-dd avatar Mar 10 '20 16:03 stephengroat-dd

@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

cornfeedhobo avatar Feb 01 '21 01:02 cornfeedhobo

I'll check where I left it off. Last time MacOS agents were barely present, hence why I stopped progress.

syndbg avatar Feb 03 '21 18:02 syndbg

Ah, that makes sense. Good luck and thank you!

cornfeedhobo avatar Feb 03 '21 22:02 cornfeedhobo

Hi @syndbg, is there anything I can do to help with this?

sergot avatar Jun 09 '22 11:06 sergot

general comment in your Makefile @syndbg

image

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; 

ghost avatar Oct 04 '22 14:10 ghost