Skip to content

Regenerate Project

Regenerate Project #79

Workflow file for this run

name: Build example project
on: [pull_request, push]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
build_native:
strategy:
fail-fast: false
matrix:
include:
# Build standard, native
- { name: "windows - native", os: windows-2022, command: "build", config: "--config=windows", bazel_options: "", }
- { name: "ubuntu - native", os: ubuntu-22.04, command: "build", config: "--config=linux", bazel_options: "", }
- { name: "macos - native", os: macos-12, command: "build", config: "--config=macos", bazel_options: "", }
# Build bzlmod, native
- { name: "windows - bzlmod native", os: windows-2022, command: "build", config: "--enable_bzlmod --config=windows", bazel_options: "", }
- { name: "ubuntu - bzlmod native", os: ubuntu-22.04, command: "build", config: "--enable_bzlmod --config=linux", bazel_options: "", }
- { name: "macos - bzlmod native", os: macos-12, command: "build", config: "--enable_bzlmod --config=macos", bazel_options: "", }
name: "Build - ${{ matrix.name }}"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with: { python-version: '3.11' }
- run: bazel ${{ matrix.command }} //... -k ${{ matrix.config }} --config=remote --verbose_failures