summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-10 07:45:29 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-10 07:45:29 +0900
commitea6ace056c51940e7e6c45a19fc117f81e3f6604 (patch)
treeb1e4e0616846df84d45e2f2abae21f81c00fcc59
parent7d390a3dda779e3e2e830752627c3a674aeadc0b (diff)
downloadpsych-ea6ace056c51940e7e6c45a19fc117f81e3f6604.tar.gz
Merge windows jobs into ubuntu
-rw-r--r--.github/workflows/ubuntu.yml6
-rw-r--r--.github/workflows/windows.yml28
2 files changed, 5 insertions, 29 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 47eddf4..345dd12 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -15,7 +15,11 @@ jobs:
fail-fast: false
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
- os: [ ubuntu-latest, macos-latest ]
+ os: [ ubuntu-latest, macos-latest, windows-latest ]
+ include:
+ - { os: windows-latest, ruby: ucrt }
+ - { os: windows-latest, ruby: mingw }
+ - { os: windows-latest, ruby: mswin }
steps:
- name: Install libraries
run: sudo apt install haveged libyaml-dev
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
deleted file mode 100644
index 37e80ce..0000000
--- a/.github/workflows/windows.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-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))