diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8a3c7077..14e179d4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,8 +14,6 @@ jobs: steps: - run: git config --global core.autocrlf input - uses: actions/checkout@v2.3.2 - with: - packages: pkg-config - uses: cygwin/cygwin-install-action@master - shell: bash run: rm -rf $(which pkg-config) @@ -43,13 +41,12 @@ jobs: echo "PKG_CONFIG_PATH=${GITHUB_WORKSPACE}/vcpkg_installed/${VCPKG_DEFAULT_TRIPLET}/lib/pkgconfig" >> $GITHUB_ENV - name: Set pkg-config path on Unix - shell: cmd + shell: bash if: runner.os == 'Windows' run: | echo "PKG_CONFIG_PATH=${GITHUB_WORKSPACE}\vcpkg_installed\\${VCPKG_DEFAULT_TRIPLET}\lib\pkgconfig" >> $GITHUB_ENV - - shell: cmd - run: | + - run: | choco install pkgconfiglite # - run: git config --global core.autocrlf input @@ -82,7 +79,6 @@ jobs: - name: Install deps & build run: | opam switch 4.14.2-mingw64 - eval $(opam env --switch=4.14.2-mingw64) opam install . --with-test opam exec -- dune build --verbose