Release v0.3.5 #79
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: | |
- master | |
- "*-stable" | |
- "*/ci-check" | |
pull_request: {} | |
jobs: | |
rake: | |
name: ${{ matrix.combo.name }} | |
strategy: | |
fail-fast: false | |
matrix: | |
combo: | |
- name: Chromium/Linux/Opal-master | |
opal: master | |
opal-rspec: '1.1' | |
- name: Chromium/Linux/Opal-1.8 | |
opal: 1.8 | |
opal-rspec: '1.1' | |
- name: Chromium/Linux/Opal-1.7 | |
opal: 1.7 | |
opal-rspec: '1.0' | |
- name: Chromium/Linux/Opal-1.5 | |
opal: 1.5 | |
- name: Chromium/Linux/Opal-1.5/PromiseV2 | |
opal: 1.5 | |
promise: v2 | |
- name: Chromium/Linux/Opal-1.3 | |
opal: 1.3 | |
- name: Chromium/Linux/Opal-1.0/Ruby-3.1 | |
opal: 1.1 | |
ruby: 3.1 | |
- name: Chromium/Linux/Ruby-head | |
ruby: head | |
- name: Chromium/Linux/Ruby-3.1 | |
ruby: '3.1' | |
- name: Chromium/Linux/Ruby-3.0 | |
ruby: '3.0' | |
- name: Firefox/Linux | |
browser: gecko | |
- name: Chromium/Windows | |
os: windows-latest | |
- name: Firefox/Windows | |
browser: gecko | |
os: windows-latest | |
- name: Edge/Windows | |
browser: edge | |
os: windows-latest | |
- name: Chromium/macOS | |
os: macos-latest | |
- name: Firefox/macOS | |
browser: gecko | |
os: macos-latest | |
- name: Safari/macOS | |
browser: safari | |
os: macos-latest | |
runs-on: ${{ matrix.combo.os || 'ubuntu-latest' }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: set environment variables | |
run: | | |
echo "OPAL_VERSION=${{ matrix.combo.opal || '1.8' }}" >> $GITHUB_ENV | |
echo "OPAL_RSPEC_VERSION=${{ matrix.combo.opal-rspec || '' }}" >> $GITHUB_ENV | |
echo "OPAL_BROWSER_PROMISE=${{ matrix.combo.promise || 'v1' }}" >> $GITHUB_ENV | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.combo.ruby || '3.2' }} | |
- run: bundle lock | |
- uses: actions/cache@v2 | |
with: | |
path: ./vendor/bundle | |
key: ${{ runner.os }}-${{ matrix.combo.ruby || '3.2' }}-gems-${{ matrix.combo.opal || '1.8' }}-${{ github.ref }}-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.combo.ruby || '3.2' }}-gems-${{ matrix.combo.opal || '1.8' }}-${{ github.ref }} | |
${{ runner.os }}-${{ matrix.combo.ruby || '3.2' }}-gems-${{ matrix.combo.opal || '1.8' }}-master | |
${{ runner.os }}-${{ matrix.combo.ruby || '3.2' }}-gems-${{ matrix.combo.opal || '1.8' }}- | |
${{ runner.os }}-${{ matrix.combo.ruby || '3.2' }}-gems- | |
- name: bundle install | |
run: | | |
bundle config path $PWD/vendor/bundle | |
bundle install --jobs 4 --retry 3 | |
bundle clean | |
- run: bundle exec rake selenium_${{ matrix.combo.browser || 'chrome' }} |