# HG changeset patch # User Matt Harbison # Date 1728428384 14400 # Node ID 941141c2c47530125812dbb232f4d83d688ab05d # Parent 5713adc51f2a8a0955e28a5c15ac56ff4372e899 ci: add a runner for macos This is running from a venv, created with the packages from the requirements file in the `test-setup-future-work` topic being discussed separately. We can basically reuse the existing `test_c` configuration as-is, but there was one small issue- if the clone from the previous CI run is still present in `/tmp`, the clone for the current run fails. It's not a problem for the current setup because a new container is instantiated, so the easy fix is to simply delete the clone first. (The Windows CI avoids this by not cloning in the first place.) It looks like it takes ~80m to run the whole test suite on the current system. diff -r 5713adc51f2a -r 941141c2c475 contrib/heptapod-ci.yml --- a/contrib/heptapod-ci.yml Tue Oct 15 13:52:21 2024 +0200 +++ b/contrib/heptapod-ci.yml Tue Oct 08 18:59:44 2024 -0400 @@ -41,6 +41,7 @@ before_script: - echo "python used, $PYTHON" - for tool in $SHOW_VERSION_OF ; do echo '#' version of $tool; $tool --version; done + - rm -rf /tmp/mercurial-ci/ # Clean slate if not using containers - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'` - cd /tmp/mercurial-ci/ @@ -179,3 +180,8 @@ variables: RUNTEST_ARGS: "--blacklist C:/Temp/check-tests.txt --pyoxidized" PYTHON: py -3 + +macos: + <<: *test_c + tags: + - macos