|
59 | 59 | - { name: "macos - roborio", os: macos-14, java_arch: "aarch64", command: "build", config: "--noenable_bzlmod --config=roborio", bazel_options: "", } |
60 | 60 |
|
61 | 61 | # Build bzlmod, roborio |
62 | | - # - { name: "windows - bzlmod roborio", os: windows-2022, java_arch: "x64", command: "build", config: "--enable_bzlmod --config=roborio", bazel_options: "--output_user_root=C:\\bazelroot", } |
| 62 | + # - { name: "windows - bzlmod roborio", os: windows-2022, java_arch: "x64", command: "build", config: "--enable_bzlmod --config=roborio", bazel_options: "--output_user_root=C:\\bazelroot", } |
63 | 63 | - { name: "ubuntu - bzlmod roborio", os: ubuntu-22.04, java_arch: "x64", command: "build", config: "--enable_bzlmod --config=roborio", bazel_options: "", } |
64 | 64 | - { name: "macos - bzlmod roborio", os: macos-14, java_arch: "aarch64", command: "build", config: "--enable_bzlmod --config=roborio", bazel_options: "", } |
65 | 65 | name: "Build - ${{ matrix.name }}" |
|
84 | 84 | run: bazel ${{ matrix.bazel_options }} ${{ matrix.command }} //... -k ${{ matrix.config }} --verbose_failures --config=ci |
85 | 85 | working-directory: tests |
86 | 86 |
|
| 87 | + build_systemcore: |
| 88 | + strategy: |
| 89 | + fail-fast: false |
| 90 | + matrix: |
| 91 | + include: |
| 92 | + # Build non-bzlmod, systemcore |
| 93 | + - { name: "windows - systemcore", os: windows-2022, java_arch: "x64", command: "build", config: "--noenable_bzlmod --config=systemcore", bazel_options: "--output_user_root=C:\\bazelroot", } |
| 94 | + - { name: "ubuntu - systemcore", os: ubuntu-22.04, java_arch: "x64", command: "build", config: "--noenable_bzlmod --config=systemcore", bazel_options: "", } |
| 95 | + - { name: "macos - systemcore", os: macos-14, java_arch: "aarch64", command: "build", config: "--noenable_bzlmod --config=systemcore", bazel_options: "", } |
| 96 | + |
| 97 | + # Build bzlmod, systemcore |
| 98 | + - { name: "windows - bzlmod systemcore", os: windows-2022, java_arch: "x64", command: "build", config: "--enable_bzlmod --config=systemcore", bazel_options: "--output_user_root=C:\\bazelroot", } |
| 99 | + - { name: "ubuntu - bzlmod systemcore", os: ubuntu-22.04, java_arch: "x64", command: "build", config: "--enable_bzlmod --config=systemcore", bazel_options: "", } |
| 100 | + - { name: "macos - bzlmod systemcore", os: macos-14, java_arch: "aarch64", command: "build", config: "--enable_bzlmod --config=systemcore", bazel_options: "", } |
| 101 | + name: "Build - ${{ matrix.name }}" |
| 102 | + runs-on: ${{ matrix.os }} |
| 103 | + steps: |
| 104 | + - uses: actions/checkout@v4 |
| 105 | + - uses: actions/setup-python@v5 |
| 106 | + with: { python-version: '3.11' } |
| 107 | + - uses: actions/setup-java@v4 |
| 108 | + with: |
| 109 | + distribution: 'zulu' |
| 110 | + java-version: 17 |
| 111 | + architecture: ${{ matrix.java_arch }} |
| 112 | + - id: setup_build_buddy |
| 113 | + uses: ./.github/actions/setup-build-buddy |
| 114 | + with: |
| 115 | + token: ${{ secrets.BUILDBUDDY_API_KEY }} |
| 116 | + - name: Build and allow failure # TODO Sometimes symlinks don't get created correctly the first time around |
| 117 | + run: bazel ${{ matrix.bazel_options }} ${{ matrix.command }} //... -k ${{ matrix.config }} --verbose_failures --config=ci || true |
| 118 | + working-directory: tests |
| 119 | + - name: Build |
| 120 | + run: bazel ${{ matrix.bazel_options }} ${{ matrix.command }} //... -k ${{ matrix.config }} --verbose_failures --config=ci |
| 121 | + working-directory: tests |
| 122 | + |
87 | 123 | build_linuxarm32: |
88 | 124 | strategy: |
89 | 125 | fail-fast: false |
|
0 commit comments