Skip to content

Commit

Permalink
Merge pull request #1893 from ruby/windows-test
Browse files Browse the repository at this point in the history
Update windows test setup
  • Loading branch information
soutaro authored Jun 14, 2024
2 parents 28849d4 + 2cee211 commit eac5b8f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,21 +76,3 @@ jobs:
- name: Run test
run: |
bundle exec rake ${{ matrix.job }}
windows:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-2019, windows-2022]
ruby: [ucrt, mswin]
steps:
- uses: actions/checkout@v4
- name: load ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: rake-compiler
run: gem install rake-compiler
- name: compile
run: rake compile
26 changes: 26 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Ruby on Windows

on:
push:
branches:
- master
pull_request: {}
merge_group: {}

jobs:
compile:
runs-on: "windows-latest"
strategy:
fail-fast: false
matrix:
ruby: ['3.2', '3.3', ucrt, mswin]
steps:
- uses: actions/checkout@v4
- name: load ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: rake-compiler
run: gem install rake-compiler
- name: compile
run: rake compile

0 comments on commit eac5b8f

Please sign in to comment.