From e56b8c15a84e1f92dd93926dc9a9ca49722735cb Mon Sep 17 00:00:00 2001 From: DWesl <22566757+DWesl@users.noreply.github.com> Date: Fri, 10 Jun 2022 13:57:06 -0400 Subject: [PATCH 01/17] =?UTF-8?q?CI:=20Run=20tests=20in=20Cygwin=20for=20C?= =?UTF-8?q?ygwin=20CI=20Signed-off-by:=20Filipe=20La=C3=ADns=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/tests-cygwin.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/tests-cygwin.yml b/.github/workflows/tests-cygwin.yml index 17e33bcfa..c4c1af8dc 100644 --- a/.github/workflows/tests-cygwin.yml +++ b/.github/workflows/tests-cygwin.yml @@ -20,35 +20,36 @@ jobs: strategy: fail-fast: false matrix: - python: - - '3.10' + python-minor: + - '9' steps: - name: Checkout uses: actions/checkout@v2 - - name: Set up target Python - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python }} - - name: Setup Cygwin uses: cygwin/cygwin-install-action@v2 + with: + packages: >- + python3${{ matrix.python-minor }} + python3${{ matrix.python-minor }}-pip - name: Install nox + shell: bash.exe -eo pipefail -o igncr "{0}" run: | - python -m pip install nox + /usr/bin/python -m pip install nox nox --version - name: Run tests - run: nox -s test-${{ matrix.python }} + shell: bash.exe -eo pipefail -o igncr "{0}" + run: nox -s test-3.${{ matrix.python-minor }} - name: Send coverage report uses: codecov/codecov-action@v1 if: ${{ always() }} env: - PYTHON: cygwin-${{ matrix.python }} + PYTHON: cygwin-3.${{ matrix.python-minor }} with: flags: tests env_vars: PYTHON - name: cygwin-${{ matrix.python }} + name: cygwin-3.${{ matrix.python-minor }} From dc1a5c2445415c1f87def487e98e36f5411a3e29 Mon Sep 17 00:00:00 2001 From: DWesl <22566757+DWesl@users.noreply.github.com> Date: Fri, 10 Jun 2022 16:34:26 -0400 Subject: [PATCH 02/17] =?UTF-8?q?CI:=20Include=20/usr/local/bin=20in=20PAT?= =?UTF-8?q?H.=20Signed-off-by:=20Filipe=20La=C3=ADns=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/tests-cygwin.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests-cygwin.yml b/.github/workflows/tests-cygwin.yml index c4c1af8dc..f1b313ab6 100644 --- a/.github/workflows/tests-cygwin.yml +++ b/.github/workflows/tests-cygwin.yml @@ -36,12 +36,16 @@ jobs: - name: Install nox shell: bash.exe -eo pipefail -o igncr "{0}" + env: + PATH: "/bin:/usr/bin:/usr/local/bin:/usr/lib/lapack" run: | /usr/bin/python -m pip install nox nox --version - name: Run tests shell: bash.exe -eo pipefail -o igncr "{0}" + env: + PATH: "/bin:/usr/bin:/usr/local/bin:/usr/lib/lapack" run: nox -s test-3.${{ matrix.python-minor }} - name: Send coverage report From e80d0fdec580cfbf120c5f86bd137f377c12173c Mon Sep 17 00:00:00 2001 From: DWesl <22566757+DWesl@users.noreply.github.com> Date: Fri, 10 Jun 2022 16:41:21 -0400 Subject: [PATCH 03/17] CI: Add cmake et al. to Cygwin install. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hopefully this lets test setup complete. Signed-off-by: Filipe Laíns --- .github/workflows/tests-cygwin.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests-cygwin.yml b/.github/workflows/tests-cygwin.yml index f1b313ab6..2c7f44e27 100644 --- a/.github/workflows/tests-cygwin.yml +++ b/.github/workflows/tests-cygwin.yml @@ -33,6 +33,7 @@ jobs: packages: >- python3${{ matrix.python-minor }} python3${{ matrix.python-minor }}-pip + cmake make ninja - name: Install nox shell: bash.exe -eo pipefail -o igncr "{0}" From 69b5f9e64b1b4d794f88344a2a5dedf6a2288785 Mon Sep 17 00:00:00 2001 From: DWesl <22566757+DWesl@users.noreply.github.com> Date: Fri, 10 Jun 2022 16:45:13 -0400 Subject: [PATCH 04/17] =?UTF-8?q?CI:=20Add=20gcc=20to=20Cygwin=20run=20Sig?= =?UTF-8?q?ned-off-by:=20Filipe=20La=C3=ADns=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/tests-cygwin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests-cygwin.yml b/.github/workflows/tests-cygwin.yml index 2c7f44e27..ae742e453 100644 --- a/.github/workflows/tests-cygwin.yml +++ b/.github/workflows/tests-cygwin.yml @@ -33,7 +33,7 @@ jobs: packages: >- python3${{ matrix.python-minor }} python3${{ matrix.python-minor }}-pip - cmake make ninja + cmake make ninja gcc-core - name: Install nox shell: bash.exe -eo pipefail -o igncr "{0}" From 28ea075e55fc1f7f6743a6132add913445185c8d Mon Sep 17 00:00:00 2001 From: DWesl <22566757+DWesl@users.noreply.github.com> Date: Fri, 10 Jun 2022 16:49:32 -0400 Subject: [PATCH 05/17] =?UTF-8?q?CI:=20Add=20g++=20compiler=20to=20Cygwin?= =?UTF-8?q?=20CI=20run.=20Signed-off-by:=20Filipe=20La=C3=ADns=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/tests-cygwin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests-cygwin.yml b/.github/workflows/tests-cygwin.yml index ae742e453..7aae96b96 100644 --- a/.github/workflows/tests-cygwin.yml +++ b/.github/workflows/tests-cygwin.yml @@ -33,7 +33,7 @@ jobs: packages: >- python3${{ matrix.python-minor }} python3${{ matrix.python-minor }}-pip - cmake make ninja gcc-core + cmake make ninja gcc-core gcc-g++ - name: Install nox shell: bash.exe -eo pipefail -o igncr "{0}" From 640c462e59c7eb8938458b0c6d5e818cb466e30b Mon Sep 17 00:00:00 2001 From: DWesl <22566757+DWesl@users.noreply.github.com> Date: Fri, 10 Jun 2022 16:57:55 -0400 Subject: [PATCH 06/17] =?UTF-8?q?CI:=20Add=20git=20to=20Cygwin=20CI=20run.?= =?UTF-8?q?=20Signed-off-by:=20Filipe=20La=C3=ADns=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/tests-cygwin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests-cygwin.yml b/.github/workflows/tests-cygwin.yml index 7aae96b96..fff017727 100644 --- a/.github/workflows/tests-cygwin.yml +++ b/.github/workflows/tests-cygwin.yml @@ -33,7 +33,7 @@ jobs: packages: >- python3${{ matrix.python-minor }} python3${{ matrix.python-minor }}-pip - cmake make ninja gcc-core gcc-g++ + cmake make ninja gcc-core gcc-g++ git - name: Install nox shell: bash.exe -eo pipefail -o igncr "{0}" From 9cc689535aa160788db65462a9d3057d1401e22e Mon Sep 17 00:00:00 2001 From: DWesl <22566757+DWesl@users.noreply.github.com> Date: Fri, 10 Jun 2022 17:31:20 -0400 Subject: [PATCH 07/17] CI: Try to ensure Cygwin tests start in right place MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There's a bunch of failures due to "git: not in repository" errors, so let's try to stay in a repository. Signed-off-by: Filipe Laíns --- .github/workflows/tests-cygwin.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests-cygwin.yml b/.github/workflows/tests-cygwin.yml index fff017727..3a33ff3b1 100644 --- a/.github/workflows/tests-cygwin.yml +++ b/.github/workflows/tests-cygwin.yml @@ -24,6 +24,9 @@ jobs: - '9' steps: + - name: Tell git to use proper newlines + run: git config --global core.autocrlf input + - name: Checkout uses: actions/checkout@v2 @@ -39,6 +42,8 @@ jobs: shell: bash.exe -eo pipefail -o igncr "{0}" env: PATH: "/bin:/usr/bin:/usr/local/bin:/usr/lib/lapack" + TMP: "/tmp" + TEMP: "/tmp" run: | /usr/bin/python -m pip install nox nox --version @@ -47,7 +52,12 @@ jobs: shell: bash.exe -eo pipefail -o igncr "{0}" env: PATH: "/bin:/usr/bin:/usr/local/bin:/usr/lib/lapack" - run: nox -s test-3.${{ matrix.python-minor }} + CHERE_INVOKING: 1 + TMP: "/tmp" + TEMP: "/tmp" + run: | + cd "${GITHUB_WORKSPACE}" + nox -s test-3.${{ matrix.python-minor }} - name: Send coverage report uses: codecov/codecov-action@v1 From b39a58b674adcc25bf44915890ffa2095b62350a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filipe=20La=C3=ADns?= Date: Wed, 28 Sep 2022 20:03:01 +0100 Subject: [PATCH 08/17] TST: add support for cygwin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Filipe Laíns --- tests/test_wheel.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/test_wheel.py b/tests/test_wheel.py index aa4fdefcf..1dc364e04 100644 --- a/tests/test_wheel.py +++ b/tests/test_wheel.py @@ -28,7 +28,8 @@ INTERPRETER_VERSION = f'{sys.version_info[0]}{sys.version_info[1]}' -if platform.python_implementation() == 'CPython': +python_implementation = platform.python_implementation() +if python_implementation == 'CPython' or python_implementation.startswith('CYGWIN'): INTERPRETER_TAG = f'cp{INTERPRETER_VERSION}' PYTHON_TAG = INTERPRETER_TAG # Py_UNICODE_SIZE has been a runtime option since Python 3.3, @@ -40,11 +41,11 @@ pymalloc = sysconfig.get_config_var('WITH_PYMALLOC') if pymalloc or pymalloc is None: # none is the default value, which is enable INTERPRETER_TAG += 'm' -elif platform.python_implementation() == 'PyPy': +elif python_implementation == 'PyPy': INTERPRETER_TAG = sysconfig.get_config_var('SOABI').replace('-', '_') PYTHON_TAG = f'pp{INTERPRETER_VERSION}' else: - raise NotImplementedError(f'Unknown implementation: {platform.python_implementation()}') + raise NotImplementedError(f'Unknown implementation: {python_implementation}') PLATFORM_TAG = sysconfig.get_platform().replace('-', '_').replace('.', '_') @@ -52,7 +53,7 @@ SHARED_LIB_EXT = 'so' elif platform.system() == 'Darwin': SHARED_LIB_EXT = 'dylib' -elif platform.system() == 'Windows': +elif platform.system() == 'Windows' or platform.system().startswith('CYGWIN'): SHARED_LIB_EXT = 'pyd' else: raise NotImplementedError(f'Unknown system: {platform.system()}') From fdb2d6306efa48668e42193f62c4137dbc4f4334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filipe=20La=C3=ADns?= Date: Wed, 28 Sep 2022 21:26:29 +0100 Subject: [PATCH 09/17] TST: install GitPython from repo on Cygwin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Filipe Laíns --- noxfile.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/noxfile.py b/noxfile.py index 1b9665b3f..05a859576 100644 --- a/noxfile.py +++ b/noxfile.py @@ -2,6 +2,7 @@ import os import os.path +import platform import nox @@ -46,6 +47,10 @@ def test(session): if os.environ.get('GITHUB_ACTIONS') == 'true': session.install('pytest-github-actions-annotate-failures') + # https://github.com/gitpython-developers/GitPython/pull/1455 + if platform.system().startswith('CYGWIN'): + session.install('git+https://github.com/gitpython-developers/GitPython.git') + session.run( 'pytest', '--showlocals', '-vv', From b0f12d167944cb4489a04271cfc6ef45f53e4666 Mon Sep 17 00:00:00 2001 From: DWesl <22566757+DWesl@users.noreply.github.com> Date: Sat, 12 Nov 2022 09:47:35 -0500 Subject: [PATCH 10/17] ENH: Get tests passing on Cygwin. There are a few other ways these changes could be made Tweak the regex to accept different file extensions Combine the Windows and Cygwin paths for adding .dll.a files --- mesonpy/__init__.py | 8 ++++++-- tests/test_wheel.py | 5 ++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/mesonpy/__init__.py b/mesonpy/__init__.py index abfbbb9dc..3cdaddc13 100644 --- a/mesonpy/__init__.py +++ b/mesonpy/__init__.py @@ -99,6 +99,7 @@ def _init_colors() -> Dict[str, str]: _LINUX_NATIVE_MODULE_REGEX = re.compile(r'^(?P.+)\.(?P.+)\.so$') +_CYGWIN_NATIVE_MODULE_REGEX = re.compile(r'^(?P.+)\.(?P.+)\.dll$') _WINDOWS_NATIVE_MODULE_REGEX = re.compile(r'^(?P.+)\.(?P.+)\.pyd$') _STABLE_ABI_TAG_REGEX = re.compile(r'^abi(?P[0-9]+)$') @@ -292,7 +293,7 @@ def _calculate_file_abi_tag_heuristic_posix(self, filename: str) -> Optional[mes # preventive and check its value to make sure it matches our expectations try: extension = sysconfig.get_config_vars().get('SHLIB_SUFFIX', '.so') - if extension != '.so': + if extension not in ('.so', '.dll'): raise NotImplementedError( f"We don't currently support the {extension} extension. " 'Please report this to https://github.com/FFY00/mesonpy/issues ' @@ -305,7 +306,10 @@ def _calculate_file_abi_tag_heuristic_posix(self, filename: str) -> Optional[mes 'Please report this to https://github.com/FFY00/mesonpy/issues ' 'and include the output of `python -m sysconfig`.' ) - match = _LINUX_NATIVE_MODULE_REGEX.match(filename) + if sys.platform == 'cygwin': + match = _CYGWIN_NATIVE_MODULE_REGEX.match(filename) + else: + match = _LINUX_NATIVE_MODULE_REGEX.match(filename) if not match: # this file does not appear to be a native module return None tag = match.group('tag') diff --git a/tests/test_wheel.py b/tests/test_wheel.py index 1dc364e04..a6ccccab6 100644 --- a/tests/test_wheel.py +++ b/tests/test_wheel.py @@ -102,7 +102,7 @@ def test_scipy_like(wheel_scipy_like): 'mypkg/submod/__init__.py', 'mypkg/submod/unknown_filetype.npq', } - if os.name == 'nt': + if os.name == 'nt' or sys.platform == 'cygwin': # Currently Meson is installing `.dll.a` (import libraries) next to # `.pyd` extension modules. Those are very small, so it's not a major # issue - just sloppy. For now, ensure we don't fail on those @@ -154,6 +154,8 @@ def test_purelib_and_platlib(wheel_purelib_and_platlib): } if platform.system() == 'Windows': expecting.add('plat{}'.format(EXT_SUFFIX.replace('pyd', 'dll.a'))) + elif sys.platform == 'cygwin': + expecting.add('plat{}'.format(EXT_SUFFIX.replace('dll', 'dll.a'))) assert wheel_contents(artifact) == expecting @@ -216,6 +218,7 @@ def test_executable_bit(wheel_executable_bit): executable_files = { 'executable_bit-1.0.0.data/purelib/executable_module.py', 'executable_bit-1.0.0.data/scripts/example', + 'executable_bit-1.0.0.data/scripts/example.exe', 'executable_bit-1.0.0.data/scripts/example-script', 'executable_bit-1.0.0.data/data/bin/example-script', } From ec1aa14c03fbf57ce791f295bbb351a37f4e293f Mon Sep 17 00:00:00 2001 From: DWesl <22566757+DWesl@users.noreply.github.com> Date: Sat, 12 Nov 2022 19:04:47 -0500 Subject: [PATCH 11/17] CI: Don't change directory. I hope this allows git to find the repository and the complain because it isn't trusted --- .github/workflows/tests-cygwin.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/tests-cygwin.yml b/.github/workflows/tests-cygwin.yml index 3a33ff3b1..24b29a32d 100644 --- a/.github/workflows/tests-cygwin.yml +++ b/.github/workflows/tests-cygwin.yml @@ -56,7 +56,6 @@ jobs: TMP: "/tmp" TEMP: "/tmp" run: | - cd "${GITHUB_WORKSPACE}" nox -s test-3.${{ matrix.python-minor }} - name: Send coverage report From cddc9590751eeccf9047658d24b63f7729732286 Mon Sep 17 00:00:00 2001 From: DWesl <22566757+DWesl@users.noreply.github.com> Date: Sun, 13 Nov 2022 06:19:52 -0500 Subject: [PATCH 12/17] CI: Try to cache the Cygwin installation. Won't work until the CI run succeeds, but should speed things up after that. --- .github/workflows/tests-cygwin.yml | 5 +++++ pyproject.toml | 1 + 2 files changed, 6 insertions(+) diff --git a/.github/workflows/tests-cygwin.yml b/.github/workflows/tests-cygwin.yml index 24b29a32d..ff130447c 100644 --- a/.github/workflows/tests-cygwin.yml +++ b/.github/workflows/tests-cygwin.yml @@ -30,6 +30,11 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - uses: actions/cache@v3 + with: + path: 'C:\cygwin' + key: ${{ runner.os }}-cygwin-python-3${{ matrix.python-minor }}-${{ hashfiles('pyproject.toml') }} + - name: Setup Cygwin uses: cygwin/cygwin-install-action@v2 with: diff --git a/pyproject.toml b/pyproject.toml index 8e2faa38b..5d40b2d33 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,6 +47,7 @@ test = [ 'Cython', 'pyproject-metadata>=0.6.1', 'wheel', + 'importlib_metadata; python_version < "3.8"', ] docs = [ 'furo>=2021.08.31', From c6761f6dd89bbc8865d98f17cf56015ff51124f8 Mon Sep 17 00:00:00 2001 From: DWesl <22566757+DWesl@users.noreply.github.com> Date: Sun, 13 Nov 2022 07:03:14 -0500 Subject: [PATCH 13/17] CI: Install GnuPG to see if that fixes git failure. Git's failing to configure GnuPG, so hopefully that goes away if there's an actual GnuPG installation. --- .github/workflows/tests-cygwin.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests-cygwin.yml b/.github/workflows/tests-cygwin.yml index ff130447c..f716039d7 100644 --- a/.github/workflows/tests-cygwin.yml +++ b/.github/workflows/tests-cygwin.yml @@ -42,6 +42,7 @@ jobs: python3${{ matrix.python-minor }} python3${{ matrix.python-minor }}-pip cmake make ninja gcc-core gcc-g++ git + gnupg gnupg2 - name: Install nox shell: bash.exe -eo pipefail -o igncr "{0}" From c6566c7c7e715b16dad2121e35ef60b965b915b4 Mon Sep 17 00:00:00 2001 From: DWesl <22566757+DWesl@users.noreply.github.com> Date: Sun, 13 Nov 2022 07:07:56 -0500 Subject: [PATCH 14/17] CI: Install meson to ensure all dependencies are present. --- .github/workflows/tests-cygwin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests-cygwin.yml b/.github/workflows/tests-cygwin.yml index f716039d7..a8b38bbcf 100644 --- a/.github/workflows/tests-cygwin.yml +++ b/.github/workflows/tests-cygwin.yml @@ -42,7 +42,7 @@ jobs: python3${{ matrix.python-minor }} python3${{ matrix.python-minor }}-pip cmake make ninja gcc-core gcc-g++ git - gnupg gnupg2 + gnupg gnupg2 meson - name: Install nox shell: bash.exe -eo pipefail -o igncr "{0}" From 7d09e5253a549c881d1ae00c39382eabb67483a6 Mon Sep 17 00:00:00 2001 From: DWesl <22566757+DWesl@users.noreply.github.com> Date: Sun, 13 Nov 2022 12:19:28 -0500 Subject: [PATCH 15/17] CI: Tell Cygwin git about the repository. --- .github/workflows/tests-cygwin.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/tests-cygwin.yml b/.github/workflows/tests-cygwin.yml index a8b38bbcf..cd498bd21 100644 --- a/.github/workflows/tests-cygwin.yml +++ b/.github/workflows/tests-cygwin.yml @@ -17,6 +17,8 @@ jobs: runs-on: windows-latest env: FORCE_COLOR: true + SHELLOPTS: igncr + CHERE_INVOKING: true strategy: fail-fast: false matrix: @@ -44,6 +46,15 @@ jobs: cmake make ninja gcc-core gcc-g++ git gnupg gnupg2 meson + - name: Tell Cygwin git about this repository + # This addresses the "fatal: detected dubious ownership in + # repository" and "fatal: not in a git directory" errors + # encountered when trying to run Cygwin git in a directory not + # owned by the current user. This happens when the tests run + # Cygwin git in a directory outside the Cygwin filesystem. + run: git config --global --add safe.directory '*' + shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0} + - name: Install nox shell: bash.exe -eo pipefail -o igncr "{0}" env: From 7e866c4dc1a76c5eef0852cbc85ec6e8dead7398 Mon Sep 17 00:00:00 2001 From: dnicolodi Date: Sun, 13 Nov 2022 15:31:54 -0500 Subject: [PATCH 16/17] CI: Download wheels for ensurepip --- .github/workflows/tests-cygwin.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/tests-cygwin.yml b/.github/workflows/tests-cygwin.yml index cd498bd21..b804f312a 100644 --- a/.github/workflows/tests-cygwin.yml +++ b/.github/workflows/tests-cygwin.yml @@ -65,6 +65,16 @@ jobs: /usr/bin/python -m pip install nox nox --version + - name: Download setuptools/pip wheels for ensurepip + shell: bash.exe -eo pipefail -o igncr "{0}" + env: + PATH: "/bin:/usr/bin:/usr/local/bin:/usr/lib/lapack" + TMP: "/tmp" + TEMP: "/tmp" + run: | + mkdir -p /usr/share/python-wheels + /usr/bin/python -m pip wheel --wheel-dir /usr/share/python-wheels setuptools pip wheel + - name: Run tests shell: bash.exe -eo pipefail -o igncr "{0}" env: From e27a22bf42a91e73e21cbb85d5efd426203eba24 Mon Sep 17 00:00:00 2001 From: DWesl <22566757+DWesl@users.noreply.github.com> Date: Sun, 13 Nov 2022 17:52:56 -0500 Subject: [PATCH 17/17] CI: Install pkg-config for tests. --- .github/workflows/tests-cygwin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests-cygwin.yml b/.github/workflows/tests-cygwin.yml index b804f312a..a446b3864 100644 --- a/.github/workflows/tests-cygwin.yml +++ b/.github/workflows/tests-cygwin.yml @@ -44,7 +44,7 @@ jobs: python3${{ matrix.python-minor }} python3${{ matrix.python-minor }}-pip cmake make ninja gcc-core gcc-g++ git - gnupg gnupg2 meson + gnupg gnupg2 meson pkg-config - name: Tell Cygwin git about this repository # This addresses the "fatal: detected dubious ownership in