docs: document rb_bundle_rule()
#170
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
- push | |
- pull_request | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
JAVA_OPTS: -Djdk.io.File.enableADS=true | |
jobs: | |
examples-gem: | |
name: Examples / Gem (WORKSPACE) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: | |
- 3.0.6 | |
- 3.1.4 | |
- 3.2.2 | |
- 3.3.0-preview3 | |
- jruby-9.4.5.0 | |
- truffleruby-23.1.1 | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
exclude: | |
- os: windows-latest | |
ruby: 3.3.0-preview3 | |
- os: windows-latest | |
ruby: truffleruby-23.1.1 | |
defaults: | |
run: | |
working-directory: examples/gem | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: p0deje/[email protected] | |
- run: echo 'RUBY_VERSION = "${{ matrix.ruby }}"' > ruby_version.bzl | |
- run: bazel test //... | |
- run: bazel run lib/gem:add-numbers 2 | |
- run: bazel run lib/gem:print-version | |
- if: failure() && runner.debug == '1' | |
uses: mxschmitt/action-tmate@v3 | |
# bzlmod is a job rather than a dimension on the matrix above, because it doesn't test different | |
# interpreters, see https://github.com/p0deje/rules_ruby/issues/23 | |
# (Also, it reduces our CI load by avoiding a new dimension on that matrix) | |
bzlmod: | |
name: Examples / Gem (bzlmod) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
defaults: | |
run: | |
working-directory: examples/gem | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: p0deje/[email protected] | |
with: | |
bazelrc: common --enable_bzlmod | |
- run: bazel test //... | |
- run: bazel run lib/gem:add-numbers 2 | |
- run: bazel run lib/gem:print-version | |
- if: failure() && runner.debug == '1' | |
uses: mxschmitt/action-tmate@v3 | |
ruleset: | |
name: Ruleset | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: bazel run :buildifier.check | |
- run: bazel test ... | |
- if: failure() && runner.debug == '1' | |
uses: mxschmitt/action-tmate@v3 |