Skip to content

THRIFT-6133: Handle oversized Ruby memory-buffer reads #210

THRIFT-6133: Handle oversized Ruby memory-buffer reads

THRIFT-6133: Handle oversized Ruby memory-buffer reads #210

Workflow file for this run

name: "make dist"
on:
push:
branches: ["*"]
pull_request:
branches: ["*"]
env:
BUILD_DEPS: automake bison flex git libboost-all-dev libevent-dev libssl-dev libtool make pkg-config
permissions:
contents: read
jobs:
make-dist:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Install dependencies
run: |
sudo apt-get update -yq
sudo apt-get install -y --no-install-recommends g++ $BUILD_DEPS
- name: Run bootstrap
run: ./bootstrap.sh
# Assemble the source distribution tarball only. --disable-libs keeps the
# job fast and toolchain-independent; make dist still recurses every
# language directory via DIST_SUBDIRS, so all EXTRA_DIST lists are
# validated regardless of which bindings are enabled.
- name: Run configure
run: ./configure --disable-debug --disable-tests --disable-libs
- name: Run make dist
run: make dist
- name: Verify distribution tarball
run: |
set -e
ls -l thrift-*.tar.gz
entries=$(tar tzf thrift-*.tar.gz | wc -l)
echo "Distribution tarball contains $entries entries."
test "$entries" -gt 1000