Skip to content

feat: created RoR sample #44

feat: created RoR sample

feat: created RoR sample #44

Workflow file for this run

name: MacOS
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
concurrency:
group: '${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.ref_name }}'
cancel-in-progress: true
jobs:
test-sinatra:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ macos-13, macos-14 ]
steps:
- name: Select XCode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 14.3.1
- name: Brew install
run: |
brew install bison flex binutils libffi double-conversion boost jemalloc fmt glog gnu-sed bash zlib ncurses
echo "$(brew --prefix bison)/bin" >> $GITHUB_PATH
- name: Install gem
run: gem install tebako
- name: Checkout sample
uses: actions/checkout@v4
- name: Package
run: tebako press -e app.rb -o sinatra.teb -r sinatra
- name: Look around
run: ls -la
- name: Start packaged Sinatra application
run: ./sinatra.teb &
env:
PORT: 4567
- name: Wait for Sinatra to start
run: sleep 10
- name: Place GET request
run: curl http://localhost:4567
- name: End Sinatra application
run: pkill -f sinatra.teb
test-rails:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ macos-13, macos-14 ]
steps:
- name: Select XCode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 14.3.1
- name: Brew install
run: |
brew install bison flex binutils libffi double-conversion boost jemalloc fmt glog gnu-sed bash zlib ncurses
echo "$(brew --prefix bison)/bin" >> $GITHUB_PATH
- name: Install gem
run: gem install tebako
- name: Checkout sample
uses: actions/checkout@v4
- name: Package
run: tebako press -e bin/rails -o rails.teb -r ror -R 3.2.5
- name: Look around
run: ls -la