|
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_linuxarm32: |
88 | | - strategy: |
89 | | - fail-fast: false |
90 | | - matrix: |
91 | | - include: |
92 | | - # Build non-bzlmod, linuxarm32 |
93 | | - - { name: "windows - linuxarm32", os: windows-2022, java_arch: "x64", command: "build", config: "--noenable_bzlmod --enable_workspace --config=linuxarm32", bazel_options: "--output_user_root=C:\\bazelroot", } |
94 | | - - { name: "ubuntu - linuxarm32", os: ubuntu-24.04, java_arch: "x64", command: "build", config: "--noenable_bzlmod --enable_workspace --config=linuxarm32", bazel_options: "", } |
95 | | - - { name: "macos - linuxarm32", os: macos-14, java_arch: "aarch64", command: "build", config: "--noenable_bzlmod --enable_workspace --config=linuxarm32", bazel_options: "", } |
96 | | - |
97 | | - # Build bzlmod, linuxarm32 |
98 | | - # - { name: "windows - bzlmod linuxarm32", os: windows-2022, java_arch: "x64", command: "build", config: "--enable_bzlmod --config=linuxarm32", bazel_options: "--output_user_root=C:\\bazelroot", } |
99 | | - - { name: "ubuntu - bzlmod linuxarm32", os: ubuntu-24.04, java_arch: "x64", command: "build", config: "--enable_bzlmod --config=linuxarm32", bazel_options: "", } |
100 | | - - { name: "macos - bzlmod linuxarm32", os: macos-14, java_arch: "aarch64", command: "build", config: "--enable_bzlmod --config=linuxarm32", 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 | | - |
123 | 87 | build_linuxarm64: |
124 | 88 | strategy: |
125 | 89 | fail-fast: false |
|
0 commit comments