Skip to content

Commit

Permalink
build(bazel): explicitly enable or disable bzlmod
Browse files Browse the repository at this point in the history
  • Loading branch information
gjasny committed Dec 27, 2023
1 parent 470bb57 commit 767613a
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/bazel-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,24 @@ jobs:
if: runner.os == 'macOS'
run: brew install telegraf

- name: Build with SSL
- name: Build with SSL (without bzlmod)
if: runner.os != 'macOS'
run: bazel build --config=ssl ${{ matrix.bazel_args }} //...
run: bazel build --noenable_bzlmod --config=ssl //...

- name: Test with SSL
- name: Build with SSL
if: runner.os != 'macOS'
run: bazel test --config=ssl ${{ matrix.bazel_args }} --test_output=all //...
run: bazel build --enable_bzlmod --config=ssl //...

- name: Build with SSL and bzlmod
- name: Test with SSL
if: runner.os != 'macOS'
run: bazel build --enable_bzlmod --config=ssl ${{ matrix.bazel_args }} //...
run: bazel test --enable_bzlmod --config=ssl --test_output=all //...

- name: Build
run: bazel build //...
run: bazel build --enable_bzlmod //...

- name: Test
run: bazel test ${{ matrix.bazel_args }} --test_output=all //...
run: bazel test --enable_bzlmod --test_output=all //...

- name: Scraping Test
if: runner.os != 'Windows'
run: bazel test --test_output=all //pull/tests/integration:scrape-test

- name: Benchmark
run: bazel run -c opt //core/benchmarks
run: bazel test --enable_bzlmod --test_output=all //pull/tests/integration:scrape-test

0 comments on commit 767613a

Please sign in to comment.