From c53adc4b65d66d76363fa7164a98cfb2aadbe3ba Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Tue, 11 Jul 2023 21:28:36 -0700 Subject: [PATCH] ci: add jobs to test with --disable-system-libraries --- .github/workflows/tests.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 326dff8..74f75df 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -54,3 +54,35 @@ jobs: ruby-version: "${{ matrix.ruby }}" bundler-cache: true - run: bundle exec rake + + vendor: + name: Ruby ${{ matrix.ruby }} - vendored libre2 and abseil + runs-on: ubuntu-20.04 + strategy: + matrix: + ruby: + - '3.2' + - '3.1' + - '3.0' + - 2.7 + - 2.6 + - 2.5 + - 2.4 + - 2.3 + steps: + - uses: actions/checkout@v3 + - name: Install build dependencies + run: | + sudo apt-get install -y build-essential cmake + - name: Configure Bundler for Ruby dependencies + run: bundle config --local path vendor/bundle + - name: Generate Gemfile.lock + run: bundle lock + - name: Cache Ruby dependencies + uses: actions/cache@v3 + with: + path: vendor/bundle + key: gems-v1-${{ runner.os }}-${{ matrix.ruby }}-${{ hashFiles('Gemfile.lock') }} + - run: bundle install --jobs 4 + - run: bundle exec rake compile -- --disable-system-libraries + - run: bundle exec rake