Update README.md #101
Workflow file for this run
This file contains hidden or 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
| # ******************************************************************************* | |
| # Copyright (c) 2024 Contributors to the Eclipse Foundation | |
| # | |
| # See the NOTICE file(s) distributed with this work for additional | |
| # information regarding copyright ownership. | |
| # | |
| # This program and the accompanying materials are made available under the | |
| # terms of the Apache License Version 2.0 which is available at | |
| # https://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # ******************************************************************************* | |
| # Workflow configuration for S-CORE CI - Bazel Build & Test communication module | |
| # This workflow runs Bazel test with enabled address, UB and leak sanitizer when triggered by specific pull request | |
| # events. | |
| name: Test communication module with address and UB and leak sanitizer | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| merge_group: | |
| types: [checks_requested] | |
| workflow_call: | |
| jobs: | |
| build_and_test_asan_ubsan_lsan: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/[email protected] | |
| - name: Free Disk Space (Ubuntu) | |
| uses: ./actions/free_disk_space | |
| - uses: bazel-contrib/[email protected] | |
| with: | |
| bazelisk-cache: true | |
| disk-cache: ${{ github.workflow }} | |
| repository-cache: true | |
| - name: Allow linux-sandbox | |
| uses: ./actions/unblock_user_namespace_for_linux_sandbox | |
| - name: Bazel test communication targets with address and UB and leak sanitizer | |
| run: | | |
| bazel test --config=asan_ubsan_lsan //... --build_tests_only |