summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMSP-Greg <MSP-Greg@users.noreply.github.com>2020-02-11 21:53:39 -0600
committerMSP-Greg <MSP-Greg@users.noreply.github.com>2020-02-16 11:57:05 -0600
commit47b3454d632d3301759bd5476a950a3963b70bf8 (patch)
treee681311b2474f998d067e93b300f82e37e3ec271 /.github
parentda136f103e8eb53bda6c0c3db657ca95f11de541 (diff)
downloadpsych-47b3454d632d3301759bd5476a950a3963b70bf8.zip
Update Actions
1. Remove rvm where possible, add ruby-head, misc 2. Add mingw & mswin Windows testing
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/macos.yml20
-rw-r--r--.github/workflows/ubuntu.yml27
-rw-r--r--.github/workflows/windows.yml34
3 files changed, 44 insertions, 37 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 7d20478..336b691 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -5,11 +5,17 @@ on: [push, pull_request]
jobs:
build:
runs-on: macos-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ ruby: [ 2.7, 2.6, 2.5, 2.4 ]
steps:
- - uses: actions/checkout@master
- - name: Install dependencies
- run: |
- gem install bundler --no-document
- bundle install
- - name: Run test
- run: rake
+ - uses: actions/checkout@v2
+ - name: Set up Ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: ${{ matrix.ruby }}
+ - name: Install dependencies
+ run: bundle install
+ - name: Run test
+ run: rake
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index aae178f..efd01ea 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -6,19 +6,18 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
+ fail-fast: false
matrix:
- ruby: [ '2.6', '2.5', '2.4', 'ruby-head']
+ ruby: [ ruby-head, 2.7, 2.6, 2.5, 2.4 ]
steps:
- - name: Install libraries
- run: sudo apt install haveged
- - uses: actions/checkout@master
- - name: Set up Ruby
- uses: ruby/setup-ruby@v1
- with:
- ruby-version: ${{ matrix.ruby }}
- - name: Install dependencies
- run: |
- gem install bundler --no-document
- bundle install
- - name: Run test
- run: rake
+ - name: Install libraries
+ run: sudo apt install haveged
+ - uses: actions/checkout@v2
+ - name: Set up Ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: ${{ matrix.ruby }}
+ - name: Install dependencies
+ run: bundle install
+ - name: Run test
+ run: rake
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 89b2443..1e11460 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -8,20 +8,22 @@ jobs:
strategy:
fail-fast: false
matrix:
- ruby: [ '2.6.x', '2.5.x', '2.4.x' ]
+ ruby: [ mingw, mswin, 2.7, 2.6, 2.5, 2.4 ]
steps:
- - uses: actions/checkout@master
- - name: Set up Ruby
- uses: actions/setup-ruby@v1
- with:
- ruby-version: ${{ matrix.ruby }}
- - name: Update MSYS2
- uses: MSP-Greg/msys2-action@master
- with:
- base: update
- - name: Install dependencies
- run: |
- gem update --system --no-document --conservative
- bundle install
- - name: Run test
- run: rake
+ - uses: actions/checkout@v2
+ - name: Set up Ruby
+ uses: MSP-Greg/actions-ruby@v1
+ with:
+ ruby-version: ${{ matrix.ruby }}
+ base: update
+ - name: Install dependencies
+ run: bundle install
+ - name: Run test
+ if: matrix.ruby != 'mswin'
+ run: rake
+ - name: Run test
+ if: matrix.ruby == 'mswin'
+ shell: cmd
+ run: |
+ call "%VCVARS%"
+ rake