diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/macos.yml | 15 | ||||
-rw-r--r-- | .github/workflows/ubuntu-rvm.yml | 31 | ||||
-rw-r--r-- | .github/workflows/ubuntu.yml | 24 | ||||
-rw-r--r-- | .github/workflows/windows.yml | 24 |
4 files changed, 94 insertions, 0 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 0000000..e161bdd --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,15 @@ +name: macos + +on: [push] + +jobs: + build: + runs-on: macos-latest + steps: + - uses: actions/checkout@master + - name: Install dependencies + run: | + gem install bundler --no-document + bundle install + - name: Run test + run: rake diff --git a/.github/workflows/ubuntu-rvm.yml b/.github/workflows/ubuntu-rvm.yml new file mode 100644 index 0000000..7ed50ed --- /dev/null +++ b/.github/workflows/ubuntu-rvm.yml @@ -0,0 +1,31 @@ +name: ubuntu-rvm + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + ruby: [ 'jruby-9.2.0.0', 'jruby-9.1.17.0', 'ruby-head' ] + steps: + - name: Install libraries + run: apt install haveged + - uses: actions/checkout@master + - name: Set up RVM + run: | + curl -sSL https://get.rvm.io | bash + - name: Set up Ruby + run: | + source $HOME/.rvm/scripts/rvm + rvm install ${{ matrix.ruby }} --binary + rvm --default use ${{ matrix.ruby }} + - name: Install dependencies + run: | + source $HOME/.rvm/scripts/rvm + gem install bundler --no-document + bundle install + - name: Run test + run: | + source $HOME/.rvm/scripts/rvm + rake diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml new file mode 100644 index 0000000..5ea2493 --- /dev/null +++ b/.github/workflows/ubuntu.yml @@ -0,0 +1,24 @@ +name: ubuntu + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + ruby: [ '2.6.x', '2.5.x', '2.4.x', '2.3.x' ] + steps: + - name: Install libraries + run: apt install haveged + - uses: actions/checkout@master + - name: Set up Ruby + uses: actions/setup-ruby@v1 + with: + version: ${{ matrix.ruby }} + - name: Install dependencies + run: | + gem install bundler --no-document + bundle install + - name: Run test + run: rake diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml new file mode 100644 index 0000000..6948922 --- /dev/null +++ b/.github/workflows/windows.yml @@ -0,0 +1,24 @@ +name: windows + +on: [push] + +jobs: + build: + runs-on: windows-latest + strategy: + matrix: + ruby: [ '2.6.x', '2.5.x', '2.4.x' ] + steps: + - uses: actions/checkout@master + - name: Set up Ruby + uses: actions/setup-ruby@v1 + with: + version: ${{ matrix.ruby }} + - name: Set up Bundler + run: gem install bundler --no-document + - name: Install dependencies + run: bundle install + - name: Build + run: rake -rdevkit compile + - name: Run test + run: rake test |