diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..dfdb8b771 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.sh text eol=lf diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34af5e4a5..10e14fb26 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: python3 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 ]