From cc07a746e3cd6e023e2804d5d37003028ef603f3 Mon Sep 17 00:00:00 2001 From: Akuli Date: Thu, 2 Feb 2023 02:58:57 +0200 Subject: [PATCH] Convert to CRLF (#192) --- .github/workflows/windows.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 53d4893a..b0ccf6c1 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -88,12 +88,15 @@ jobs: mingw64/licenses/ # Using gcc instead of clang, because gcc "just works". # llvm-13-dev needed for the header files. They seem to be missing from LLVM windows installer. - - name: Install gcc and LLVM for cross-compiling - run: sudo apt update && sudo apt install -y llvm-13-dev gcc-mingw-w64-x86-64-win32 + - name: Install gcc and dependencies for cross-compiling + run: sudo apt update && sudo apt install -y llvm-13-dev gcc-mingw-w64-x86-64-win32 dos2unix - run: CC=x86_64-w64-mingw32-gcc LDFLAGS=lib/LLVM-C.lib make - run: mkdir jou - # Please keep this list of files in sync with update.ps1 - - run: cp -rv stdlib doc examples mingw64 LICENSE jou.exe update.ps1 bin/*.dll jou + - name: Copy files + # Please keep this list of files in sync with update.ps1 + run: cp -rv stdlib doc examples mingw64 LICENSE jou.exe update.ps1 bin/*.dll jou + - name: Convert files to Windows-style CRLF line endings + run: unix2dos $(find jou -name '*.jou') $(find jou -name '*.md') jou/LICENSE - run: zip -r jou.zip jou - uses: actions/upload-artifact@v3 with: