Temporarily do not support Ruby on Windows due to difficulty

This commit is contained in:
Wilson Lin 2020-01-19 23:24:54 +11:00
parent 024e6aada0
commit af190bbbf0
2 changed files with 8 additions and 18 deletions

View File

@ -10,27 +10,22 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, macos-latest]
include:
- os: ubuntu-latest
NAME: linux
FILE: 'libhyperbuild_ruby_lib.so'
- os: windows-latest
NAME: windows
FILE: 'hyperbuild_ruby_lib.dll'
- os: macos-latest
NAME: macos
FILE: 'libhyperbuild_ruby_lib.dylib'
steps:
- uses: actions/checkout@v1
- name: Get version
id: version
shell: bash
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
- name: Set up Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: '2.5'
- name: Set up Ruby (Linux)
if: runner.os == 'Linux'
run: sudo apt install -y ruby2.5 ruby2.5-dev
- name: Set up Ruby (macOS)
if: runner.os == 'macOS'
run: brew install ruby@2.5
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
@ -58,11 +53,6 @@ jobs:
uses: actions/setup-ruby@v1
with:
ruby-version: '2.5'
- name: Download Windows built library
uses: actions/download-artifact@v1
with:
name: windows
path: ruby/lib/windows
- name: Download Linux built library
uses: actions/download-artifact@v1
with:

View File

@ -143,7 +143,7 @@ minified = hyperbuild.minify("<p> Hello, world! </p>")
<details>
<summary><strong>Ruby</strong></summary>
hyperbuild is available as a [native module](https://github.com/danielpclark/rutie), and supports Ruby versions 2.5 and higher.
hyperbuild is available as a [native module](https://github.com/danielpclark/rutie) for macOS and Linux, and supports Ruby versions 2.5 and higher.
##### Get