Skip to content

Commit

Permalink
Added a bazl build check
Browse files Browse the repository at this point in the history
  • Loading branch information
tomuben committed Oct 15, 2024
1 parent ef099fd commit e63355c
Showing 1 changed file with 22 additions and 7 deletions.
29 changes: 22 additions & 7 deletions .github/workflows/check_bazel_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,29 @@ on:
pull_request:

jobs:
env:
USE_BAZEL_VERSION: 7.2.1
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Search for duplicated error codes
run: bash find_duplicate_error_codes.sh

- name: Install bazel
run: |
curl -L -o bazel https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-amd64
chmod +x bazel
- name: Install JDK and ZMQ
run: |
sudo apt-get update
sudo apt-get install -y openjdk-11-jdk libzmq3-dev
- name: Build
run: |
bazel build --lockfile_mode=off --config no-tty -c dbg --config python --config java --config fast-binary --verbose_failures
working-directory: ./exaudfclient/

tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -43,15 +65,8 @@ jobs:
name: "script_options_parser_ctpg_with_asan"
- test: "--config=asan //base/script_options_parser/legacy/..."
name: "script_options_parser_legacy_with_asan"


env:
USE_BAZEL_VERSION: 7.2.1
steps:
- uses: actions/checkout@v4
- name: Search for duplicated error codes
run: bash find_duplicate_error_codes.sh

- name: Install bazel
run: |
curl -L -o bazel https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-amd64
Expand Down

0 comments on commit e63355c

Please sign in to comment.