Skip to content

Commit c171bdc

Browse files
committed
Cygwin Issues.
There have been issues with cygwin/windows CI tests. I think I have identified the problem as missing steps in the workflow file. This also incorporates a minor change in the dependencies for cygwin. That was taken from openssh master.
1 parent 9150b54 commit c171bdc

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/setup_ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ case "$host" in
1414
echo Removing extended ACLs so umask works as expected.
1515
setfacl -b . regress
1616
PACKAGES="$PACKAGES,autoconf,automake,cygwin-devel,gcc-core"
17-
PACKAGES="$PACKAGES,make,openssl-devel,zlib-devel"
17+
PACKAGES="$PACKAGES,make,openssl,libssl-devel,zlib-devel"
1818
;;
1919
*-darwin*)
2020
PACKAGER=brew

.github/workflows/c-cpp.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ jobs:
106106
# - { target: macos-14, config: pam }
107107
runs-on: ${{ matrix.target }}
108108
steps:
109+
- name: set cygwin git params
110+
if: ${{ startsWith(matrix.target, 'windows') }}
111+
run: git config --global core.autocrlf input
112+
- name: install cygwin
113+
if: ${{ startsWith(matrix.target, 'windows') }}
114+
uses: cygwin/cygwin-install-action@master
109115
- uses: actions/checkout@main
110116
- name: setup CI system
111117
run: sh ./.github/setup_ci.sh ${{ matrix.config }}

0 commit comments

Comments
 (0)