From 444d8dbde04a7fcb6f01588c7f75c6540d7deff7 Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Wed, 22 Oct 2025 17:39:35 +0200 Subject: [PATCH 1/3] .gitattributes for UNIX line endings in bash scripts close #281 --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..dfdb8b771 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.sh text eol=lf From 678b19fc9dd9ecc81ebe56029bf8af56eb5af7e4 Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Wed, 22 Oct 2025 17:42:19 +0200 Subject: [PATCH 2/3] Windows build --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34af5e4a5..bec81dd52 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -347,8 +347,8 @@ jobs: --variant debug,release # Checks that we don't have any errors in docs - check-docs: - name: Check docs + linux-check-docs: + name: Linux check docs defaults: run: shell: bash @@ -366,3 +366,23 @@ jobs: cd ~/boost-root ./b2 libs/redis/doc [ -f ~/boost-root/libs/redis/doc/html/index.html ] + + windows-check-docs: + name: Windows check docs + defaults: + run: + shell: bash + + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Boost + run: ./tools/ci.py setup-boost --source-dir=$(pwd) + + - name: Build docs + run: | + cd ~/boost-root + ./b2 libs/redis/doc + [ -f ~/boost-root/libs/redis/doc/html/index.html ] From 715d497b632312fdfdf018d881053af7a41e6b4f Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Wed, 22 Oct 2025 17:54:23 +0200 Subject: [PATCH 3/3] Explicit python3 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bec81dd52..10e14fb26 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -379,7 +379,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Boost - run: ./tools/ci.py setup-boost --source-dir=$(pwd) + run: python3 tools/ci.py setup-boost --source-dir=$(pwd) - name: Build docs run: |