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 e430a38
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,18 @@ 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
k

0 comments on commit e430a38

Please sign in to comment.