summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-02-22 21:33:02 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-02-22 21:34:50 +0900
commit5886bae2cb6e7a16ecd65ff37347715223b8290f (patch)
tree0a45ed9a6456172174a6a6decc6331dc0c721d3b /.github
parent8734035d07e45b822e05e3affdb683ce025f74b3 (diff)
downloadpsych-5886bae2cb6e7a16ecd65ff37347715223b8290f.tar.gz
Use vcpkg for libyaml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/windows.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 6dac1a4..ac029b2 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -11,6 +11,9 @@ jobs:
ruby: [ mingw, mswin, 3.0, 2.7, 2.6, 2.5, 2.4 ]
steps:
- uses: actions/checkout@v2
+ - name: Install libraries with vcpkg
+ run: |
+ vcpkg --triplet x64-windows install libyaml
- name: Set up Ruby
uses: MSP-Greg/setup-ruby-pkgs@v1
with:
@@ -18,5 +21,7 @@ jobs:
mingw: _upgrade_
- name: Install dependencies
run: bundle install
+ - name: Compile
+ run: rake compile -- --with-libyaml-dir=C:/vcpkg/installed/x64-windows
- name: Run test
run: rake