diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-03-20 14:59:25 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-03-20 15:12:55 +0900 |
commit | 7d41d783634b31d2f23c0ad72bb821f01c7d5c21 (patch) | |
tree | 6825f977d9d44caf27d0f7042e2e359796f2adea /.github | |
parent | 759e8a215606338d1564febd9e6fc1d4d8e59c55 (diff) | |
download | psych-7d41d783634b31d2f23c0ad72bb821f01c7d5c21.tar.gz |
Install libyaml with vcpkg only on mswin
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/windows.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 22bef4b..b7896fc 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -12,13 +12,16 @@ jobs: steps: - uses: actions/checkout@v2 - name: Install libraries with vcpkg + id: vcpkg run: | vcpkg --triplet x64-windows install libyaml + if: ${{ matrix.ruby == 'mswin' }} - name: link libraries run: | for %%I in (C:\vcpkg\installed\x64-windows\bin\*.dll) do ( mklink %%~nxI %%I ) + if: ${{ steps.vcpkg.conclusion == 'success' }} - name: Set up Ruby uses: MSP-Greg/setup-ruby-pkgs@v1 with: @@ -28,6 +31,7 @@ jobs: run: bundle install - name: Compile run: rake compile -- --with-libyaml-dir=C:/vcpkg/installed/x64-windows + if: ${{ matrix.ruby == 'mswin' }} - name: Run test run: rake |