Update ci.yml #22
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, newb5 ] | |
| 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 | |
| bazel_osx: | |
| name: Bazel on MacOS | |
| runs-on: macos-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: /Users/runner/.cache/bazel | |
| key: bazel_osx | |
| - name: run tests | |
| run: ./ci/do_ci.sh bazel.macos.test |