diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index 6ce2ec299..45ff4236e 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -94,6 +94,10 @@ jobs: - name: Configure shell: bash run: | + if [[ "${{ runner.os }}" == 'Windows' ]]; then + # Remove Strawberry Perl from PATH environment variable to avoid usage of libraries it provides + export PATH=`echo $PATH | tr ":" "\n" | grep -v "Strawberry" | tr "\n" ":"` + fi cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DCMAKE_PREFIX_PATH=`pwd`/build/zmusic -DPK3_QUIET_ZIPDIR=ON ${{ matrix.config.extra_options }} . - name: Build