blob: 7d357e0e6e4ae3b677ad802c2424a42c83d10220 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com>
# SPDX-License-Identifier: MPL-2.0 WITH AdditionRef-Progmasoft-Exception-2.0
name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
concurrency:
group: tazelish-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, macos-15, windows-2025]
runs-on: ${{ matrix.os }}
timeout-minutes: 45
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
# The hosted Windows image carries LLVM, whose clang-cl the Bazel
# configuration uses.
- if: runner.os == 'Windows'
shell: pwsh
run: '"BAZEL_LLVM=C:\Program Files\LLVM" | Out-File -FilePath $env:GITHUB_ENV -Append'
- run: bazelisk test //...
- run: bazelisk build //:tazelish
required:
name: CI Required
if: always()
needs: [test]
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- env:
RESULT: ${{ needs.test.result }}
run: test "$RESULT" = success
|