Skip to content

Commit 9eaaddf

Browse files
committed
Fix Cygwin's ability to clone the repo
1 parent aeedfb3 commit 9eaaddf

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/testing.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,27 +323,34 @@ jobs:
323323
fail-fast: false
324324
runs-on: windows-2022
325325
timeout-minutes: 30
326+
defaults:
327+
run:
328+
shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -o igncr '{0}'
326329
steps:
327330
- name: Setup Cygwin
328331
uses: cygwin/cygwin-install-action@v6
329332
with:
330333
platform: ${{ matrix.arch }}
331334
packages: >-
335+
ca-certificates
332336
bison
333337
gcc-g++
334338
git
335339
libpng-devel
336340
make
337341
pkg-config
342+
- name: Reset directory ownership
343+
working-directory: ..
344+
run: |
345+
rmdir rgbds
346+
mkdir rgbds
338347
- name: Checkout repo
339348
uses: actions/checkout@v6
340349
- name: Build & install using Make
341-
shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -o igncr '{0}'
342350
run: | # Cygwin does not support `make develop` sanitizers ASan or UBSan
343351
make -kj Q=
344352
make install -j Q=
345353
- name: Run tests
346-
shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -o igncr '{0}'
347354
run: |
348355
test/run-tests.sh --only-internal
349356

0 commit comments

Comments
 (0)