Skip to content

Commit

Permalink
chore: remove test-async as it does not add any value
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirmx committed Jan 10, 2025
1 parent 83b34cb commit 8e41559
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 106 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,43 +11,6 @@ concurrency:
cancel-in-progress: true

jobs:
test-async:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
container:
- 'ubuntu-20.04'
- 'alpine-3.17'
package_ruby_ver:
- '3.2.5'
container:
image: ghcr.io/tamatebako/tebako-${{ matrix.container }}:latest
steps:
- name: Install curl/procps
run: |
if [ -e "/etc/lsb-release" ]; then
apt-get -y update
apt-get -y install curl procps
elif [ -e "/etc/alpine-release" ]; then
apk --no-cache --upgrade add curl procps
fi
- name: Checkout sample
uses: actions/checkout@v4

- name: Package
run: tebako press -e binance.rb -o binance.tebako -r async -R ${{ matrix.package_ruby_ver }}

- name: Start packaged application
run: ./binance.tebako &

- name: Wait for the application to start and do some work
run: sleep 10

- name: End application
run: pkill -f binance.tebako

test-sinatra:
runs-on: ubuntu-latest
strategy:
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,41 +11,6 @@ concurrency:
cancel-in-progress: true

jobs:
test-async:
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: 15.0.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 binance.rb -o binance.tebako -r async

- name: Start packaged application
run: ./async.tebako &

- name: Wait for app to start and do some work
run: sleep 10

- name: End application
run: pkill -f async.tebako

test-sinatra:
runs-on: ${{ matrix.os }}
strategy:
Expand Down
7 changes: 0 additions & 7 deletions async/Gemfile

This file was deleted.

21 changes: 0 additions & 21 deletions async/binance.rb

This file was deleted.

12 changes: 6 additions & 6 deletions tutorial/1_hello_world/Lesson-1.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ However, creating embedded packages requires a complex configuration of addition

[source,sh]
----
pushd $(mktemp -d)
curl https://raw.githubusercontent.com/tamatebako/tebako/refs/heads/main/Brewfile > Brewfile
brew bundle -f
popd
pushd $(mktemp -d)
curl https://raw.githubusercontent.com/tamatebako/tebako/refs/heads/main/Brewfile > Brewfile
brew bundle -f
popd
echo 'export PATH=$(brew --prefix bison)/bin:$PATH' >> ~/.zshrc
source ~/.zshrc
echo 'export PATH=$(brew --prefix bison)/bin:$PATH' >> ~/.zshrc
source ~/.zshrc
----

2. Install the Tebako gem:
Expand Down

0 comments on commit 8e41559

Please sign in to comment.