Update GCC & Rust toolchains #118
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) 2025 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 | |
| # ******************************************************************************* | |
| name: CI | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["*"] | |
| workflow_dispatch: | |
| jobs: | |
| bazel-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install protobuf-compiler | |
| run: sudo apt-get install protobuf-compiler | |
| - uses: bazelbuild/setup-bazelisk@v3 | |
| - uses: actions/cache@v4 | |
| with: | |
| path: "~/.cache/bazel" | |
| key: bazel | |
| - name: Bazel mod tidy | |
| run: bazel mod tidy | |
| - name: Build all workspace targets | |
| run: bazel build --config=x86_64-linux //... | |
| - name: Run all workspace tests | |
| run: bazel test //... | |
| - name: Lint rust code (with clippy) | |
| run: bazel build --config=lint-rust //... |