Update BUILD #33
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
| name: CI | |
| on: | |
| push: | |
| branches: [ main, newb6 ] | |
| pull_request: | |
| branches: [ main ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| # Commented 2024-11-06, lack of workers in github causes CI failures | |
| # arm64_test: | |
| # name: CMake test arm64 (with modern protobuf,grpc and abseil) | |
| # runs-on: actuated-arm64-4cpu-16gb | |
| # steps: | |
| # - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| # with: | |
| # submodules: 'recursive' | |
| # - name: setup | |
| # env: | |
| # CXX_STANDARD: '14' | |
| # CC: /usr/bin/gcc-10 | |
| # CXX: /usr/bin/g++-10 | |
| # run: | | |
| # sudo -E ./ci/setup_gcc10.sh | |
| # sudo -E ./ci/setup_ci_environment.sh | |
| # - name: install dependencies | |
| # run: | | |
| # sudo -E ./ci/install_thirdparty.sh --install-dir /usr/local --tags-file third_party_release | |
| cmake_test: | |
| name: CMake test (prometheus, elasticsearch, zipkin) | |
| runs-on: ubuntu-22.04 | |
| env: | |
| CXX_STANDARD: '17' | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| submodules: 'recursive' | |
| - name: setup | |
| run: | | |
| sudo -E ./ci/setup_ci_environment.sh | |
| sudo -E apt-get install -y zlib1g-dev libcurl4-openssl-dev nlohmann-json3-dev | |
| - name: run cmake tests | |
| run: | | |
| ./ci/do_ci.sh cmake.test | |
| bazel_noexcept: | |
| name: Bazel noexcept | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| submodules: 'recursive' | |
| - name: Mount Bazel Cache | |
| uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 | |
| env: | |
| cache-name: bazel_cache | |
| with: | |
| path: /home/runner/.cache/bazel | |
| key: bazel_noexcept | |
| - name: setup | |
| run: | | |
| sudo ./ci/setup_ci_environment.sh | |
| sudo ./ci/install_bazelisk.sh | |
| - name: run tests | |
| run: ./ci/do_ci.sh bazel.noexcept |