[TOOLCHAIN] use aliased repos (#45) #77
This file contains 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: [master] | |
pull_request: | |
branches: [master] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
integration: | |
name: ${{ matrix.target }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-latest | |
target: "x86_64-unknown-linux-gnu" | |
- os: macos-12 | |
target: "x86_64-apple-darwin" | |
- os: macos-14 | |
target: "aarch64-apple-darwin" | |
env: | |
USE_BAZEL_VERSION: "7.x" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: workspace | |
working-directory: examples/workspace | |
run: bazel test //... | |
- name: bzlmod | |
working-directory: examples/bzlmod | |
run: bazel test //... | |
- name: gcc_version | |
working-directory: examples/gcc_version | |
run: bazel test //... | |
windows: | |
name: "x86_64-pc-windows" | |
runs-on: "windows-latest" | |
env: | |
USE_BAZEL_VERSION: "7.x" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: BUILD | |
run: bazel --output_user_root=C:/bzl build //... | |
remote-execution: | |
name: Bazel Remote Execution | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: run nativelink | |
run: | | |
cargo install --git https://github.com/TraceMachina/nativelink --tag v0.2.0 | |
(nativelink test/basic_cas.json &) | |
- name: remote execution | |
run: | | |
bazel test --config=remote //... |