summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMSP-Greg <Greg.mpls@gmail.com>2022-01-04 08:32:28 -0600
committerMSP-Greg <Greg.mpls@gmail.com>2022-03-29 10:34:05 -0500
commitf163deb57536c95a9232c372feadd8130883e58d (patch)
tree307b413b1f30431b6594781345c71185241810c6 /.github
parentf78e1dba89c74e981a672ad3cec58c055bae5b84 (diff)
downloadpsych-f163deb57536c95a9232c372feadd8130883e58d.tar.gz
[CI] Update Windows Actions workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/windows.yml25
1 files changed, 4 insertions, 21 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 779fd47..32d068d 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -4,37 +4,20 @@ on: [push, pull_request]
jobs:
build:
- runs-on: windows-latest
+ runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
- ruby: [ mingw, mswin, 3.1, "3.0", 2.7, 2.6, 2.5, 2.4 ]
+ 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: 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:
ruby-version: ${{ matrix.ruby }}
- mingw: _upgrade_ libyaml
+ vcpkg: libyaml
- name: Install dependencies
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
-
-defaults:
- run:
- shell: cmd