Skip to content
Snippets Groups Projects
Commit 385738fd793a authored by Ingy döt Net's avatar Ingy döt Net
Browse files

A couple patches to improve test suite support (#191)

* Need newer bash and make for Macos testing

* Allow override of the run-test-suite branch
parent c09fc69134da
Branches
No related tags found
No related merge requests found
......@@ -27,7 +27,9 @@
- name: Install software
run: |
if [[ '${{ matrix.os }}' == macOS-latest ]]; then
brew install automake coreutils
brew install automake bash coreutils make
echo ::add-path::/usr/local/opt/coreutils/libexec/gnubin
echo ::add-path::/usr/local/opt/make/libexec/gnubin
fi
- name: Fetch branches
run: |
......
......@@ -5,6 +5,8 @@
EXTRA_DIST = Changes ReadMe.md License CMakeLists.txt doc/doxygen.cfg
LIBYAML_TEST_SUITE_RUN_BRANCH ?= run-test-suite
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = yaml-0.1.pc
......@@ -31,5 +33,5 @@
test-all: test test-suite
tests/run-test-suite:
-git branch --track run-test-suite origin/run-test-suite
-git branch --track $(LIBYAML_TEST_SUITE_RUN_BRANCH) origin/$(LIBYAML_TEST_SUITE_RUN_BRANCH)
-git worktree prune
......@@ -35,5 +37,5 @@
-git worktree prune
git worktree add $@ run-test-suite
git worktree add $@ $(LIBYAML_TEST_SUITE_RUN_BRANCH)
packaging:
-git branch --track $@ origin/$@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment