From 0265d8fdc44a1e59e1cc304ef55cf84f8ac09954 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Mon, 27 Nov 2023 18:07:00 +0100 Subject: [PATCH] Setup MSVC in CI. --- .github/workflows/ci.yml | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa6f914..9d3cace 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,21 +28,16 @@ jobs: run: | pip3 install meson pytest requests distro pip3 install --no-deps $GITHUB_WORKSPACE + - name: Setup MSVC compiler + uses: bus1/cabuild/action/msdevshell@v1 + with: + architecture: x64 - name: Ensure base deps - shell: bash - run: | - cd $HOME - $GITHUB_WORKSPACE/.github/scripts/ensure_base_deps.py - - name: Compile all deps - shell: bash - run: | - cd $HOME - $GITHUB_WORKSPACE/.github/scripts/compile_all_deps.py + run: python .github\\scripts\\ensure_base_deps.py + - name: Compile all deps + run: python .github\\scripts\\compile_all_deps.py - name: Build projects - shell: bash - run: | - cd $HOME - kiwix-build/.github/scripts/build_projects.py + run: python .github\\scripts\\build_projects.py - name: Upload failure logs shell: bash if: failure()