blob: 37e80ceb47f9372b43ad4a55c134af74edfc4387 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
name: windows
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
ruby: [ ucrt, mingw, mswin, 3.1, "3.0", 2.7, 2.6, 2.5, 2.4 ]
os: [ windows-latest ]
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby-pkgs@v1
with:
ruby-version: ${{ matrix.ruby }}
vcpkg: libyaml
- name: Install dependencies
run: bundle install
- name: Run test
run: rake
- name: Install gem
run: rake install
# use all possible head strings
if: |
!(contains('ucrt mingw mswin head', matrix.ruby))
|