Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions .github/workflows/docsite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,26 @@ jobs:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
sudo apt update && apt-cache policy libssl1.0-dev
sudo apt-get -y install libssl1.0-dev
- name: Install Ruby
- uses: actions/checkout@v3
- name: Download Ruby
run: |
curl -O https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.10.tar.bz2
- name: Cache Ruby
id: cache-ruby
uses: actions/cache@v3
with:
path: ruby-2.1.10
key: ${{ runner.os }}-gluedb-ruby-${{ hashFiles('**/Gemfile.lock', 'ruby-2.1.10.tar.bz2', '/usr/local/bin/ruby') }}
restore-keys: |
${{ runner.os }}-gluedb-ruby-${{ hashFiles('**/Gemfile.lock', 'ruby-2.1.10.tar.bz2', '/usr/local/bin/ruby') }}
- name: Build Ruby
if: steps.cache-ruby.outputs.cache-hit != 'true'
run: |
tar xjf ruby-2.1.10.tar.bz2
cd ruby-2.1.10 && ./configure && make -j 2
cd ruby-2.1.10 && ./configure --disable-install-doc && make -j 2
- name: Install Ruby
run: |
cd ruby-2.1.10
sudo make install
- name: Setup Node.js for use with actions
uses: actions/[email protected]
Expand All @@ -38,7 +53,6 @@ jobs:
java-package: jdk
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1
- uses: actions/checkout@v2
- name: Cache Gems
uses: actions/cache@v1
with:
Expand Down
25 changes: 20 additions & 5 deletions .github/workflows/push_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ jobs:
rspec:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Get Packages for Ruby Prerequisites
run: |
sudo apt-get -y update
Expand All @@ -15,24 +16,38 @@ jobs:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
sudo apt update && apt-cache policy libssl1.0-dev
sudo apt-get -y install libssl1.0-dev
- name: Install Ruby
- uses: actions/checkout@v3
- name: Download Ruby
run: |
curl -O https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.10.tar.bz2
- name: Cache Ruby
id: cache-ruby
uses: actions/cache@v3
with:
path: ruby-2.1.10
key: ${{ runner.os }}-gluedb-ruby-${{ hashFiles('**/Gemfile.lock', 'ruby-2.1.10.tar.bz2', '/usr/local/bin/ruby') }}
restore-keys: |
${{ runner.os }}-gluedb-ruby-${{ hashFiles('**/Gemfile.lock', 'ruby-2.1.10.tar.bz2', '/usr/local/bin/ruby') }}
- name: Build Ruby
if: steps.cache-ruby.outputs.cache-hit != 'true'
run: |
tar xjf ruby-2.1.10.tar.bz2
cd ruby-2.1.10 && ./configure && make -j 2
cd ruby-2.1.10 && ./configure --disable-install-doc && make -j 2
- name: Install Ruby
run: |
cd ruby-2.1.10
sudo make install
- name: Launch MongoDB
uses: wbari/[email protected]
with:
mongoDBVersion: 3.4
- name: Setup Node.js for use with actions
uses: actions/setup-node@v2.1.2
uses: actions/setup-node@v2
with:
# Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0, lts
node-version: 9.11.1
- uses: actions/checkout@v2
- name: Cache Gems
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-gluedb-gems-${{ hashFiles('**/Gemfile.lock') }}
Expand Down