From f164ec692f3d173284d3671ecc908cf9b7b67f79 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Fri, 21 Mar 2025 18:10:10 +0000 Subject: CI: Fix filemode tests with cygwin 3.6.0 Put cygwin filemode tests back under the sourcedir Remove inheritable permissions from the sourcedir For :reasons:, the unit tests which check file mode were built in the tempdir. Instead, remove inheritable permissions from the working directory (which the GitHub VM image has set for some reaons), since they can interfere with getting exactly the file mode you asked for. Partially reverts 04ae1cfb7999e25f476f84572ff0ad853629346c --- .github/workflows/cygwin.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.github') diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index 441637c15..d641b1850 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -41,6 +41,10 @@ jobs: MESON_CI_JOBNAME: cygwin-${{ matrix.NAME }} steps: + # remove inheritable permissions since they break assumptions testsuite + # makes about file modes + - run: icacls . /inheritance:r /T /C + - uses: actions/cache/restore@v4 id: restore-cache with: -- cgit v1.2.3