Update ci.yml #20
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 | |
windows_bazel: | |
name: Bazel Windows | |
runs-on: windows-2022 | |
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: | | |
./ci/install_windows_bazelisk.ps1 | |
- name: run tests | |
run: ./ci/do_ci.ps1 bazel.build |