Skip to content

Commit

Permalink
Use vcpkg for libyaml
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Feb 22, 2022
1 parent 8734035 commit 5886bae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,17 @@ 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:
ruby-version: ${{ matrix.ruby }}
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

0 comments on commit 5886bae

Please sign in to comment.