From f94dc1f7b943d2ce2bcc7f41ebfb1dd7334f3883 Mon Sep 17 00:00:00 2001 From: Keshav Priyadarshi Date: Fri, 15 Mar 2024 15:12:32 +0530 Subject: [PATCH] Enable CI for macOS Signed-off-by: Keshav Priyadarshi --- README.rst | 5 ++++- azure-pipelines.yml | 54 +++++++++++++++++++++++++-------------------- 2 files changed, 34 insertions(+), 25 deletions(-) diff --git a/README.rst b/README.rst index fe5b610..2ef3274 100644 --- a/README.rst +++ b/README.rst @@ -17,10 +17,13 @@ This utility is designed to work on Linux and POSIX OS with these utilities: - xgettext that comes with GNU gettext. - universal ctags, version 5.9 or higher, built with JSON support. - On Debian systems run this:: +On Debian systems run this:: sudo apt-get install universal-ctags gettext +On MacOS systems run this:: + + brew install universal-ctags gettext To get started: ~~~~~~~~~~~~~~~~ diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b60cbba..2db1274 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -27,30 +27,36 @@ jobs: sudo apt-get install universal-ctags gettext venv/bin/pytest -n 2 -vvs -# - template: etc/ci/azure-posix.yml -# parameters: -# job_name: macos11_cpython -# image_name: macOS-11 -# python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12'] -# test_suites: -# all: venv/bin/pytest -n 2 -vvs -# -# - template: etc/ci/azure-posix.yml -# parameters: -# job_name: macos12_cpython -# image_name: macOS-12 -# python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12'] -# test_suites: -# all: venv/bin/pytest -n 2 -vvs -# -# - template: etc/ci/azure-posix.yml -# parameters: -# job_name: macos13_cpython -# image_name: macOS-13 -# python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12'] -# test_suites: -# all: venv/bin/pytest -n 2 -vvs -# + - template: etc/ci/azure-posix.yml + parameters: + job_name: macos11_cpython + image_name: macOS-11 + python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12'] + test_suites: + all: | + brew install universal-ctags gettext + venv/bin/pytest -n 2 -vvs + + - template: etc/ci/azure-posix.yml + parameters: + job_name: macos12_cpython + image_name: macOS-12 + python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12'] + test_suites: + all: | + brew install universal-ctags gettext + venv/bin/pytest -n 2 -vvs + + - template: etc/ci/azure-posix.yml + parameters: + job_name: macos13_cpython + image_name: macOS-13 + python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12'] + test_suites: + all: | + brew install universal-ctags gettext + venv/bin/pytest -n 2 -vvs + # - template: etc/ci/azure-win.yml # parameters: # job_name: win2019_cpython