Skip to content

Commit

Permalink
work around CRLF linefeeds in Cygwin checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
mmitch committed Oct 11, 2023
1 parent ca941bb commit 515e720
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
cygwin: true
packages: gcc-core
plugouts: dsound devdsp
shell: C:\cygwin\bin\bash.exe '{0}'
shell: C:\cygwin\bin\bash.exe -o igncr '{0}'

defaults:
run:
Expand All @@ -52,14 +52,18 @@ jobs:
uses: msys2/setup-msys2@v2
with:
msystem: ${{ matrix.type }}
install: git base-devel ${{ matrix.packages }} libintl gettext-devel zlib-devel
install: git base-devel ${{ matrix.packages }} libintl gettext-devel zlib-devel dos2unix
release: false
update: false
- if: ${{ matrix.cygwin }}
name: Setup Cygwin
uses: cygwin/cygwin-install-action@master
with:
packages: git make ${{ matrix.packages }} gettext-devel zlib-devel
- if: ${{ matrix.cygwin }}
name: Fix linefeeds under Cygwin
run: |
dos2unix Makefile configure *.sh
- name: Build and test
env:
CONFIGURE_FLAGS: ${{ matrix.flags }} --enable-verbosebuild
Expand Down

0 comments on commit 515e720

Please sign in to comment.