-
Notifications
You must be signed in to change notification settings - Fork 7
43 lines (41 loc) · 1.23 KB
/
ci.yaml
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
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
name: Run tests
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- run: bazelisk test //Tests/... --xcode_version=14.3
tests-bzlmod:
name: Run tests w/bzlmod
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- run: bazelisk test //Tests/... --xcode_version=14.3 --enable_bzlmod
executable:
name: Build macos_command_line_application
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- run: bazelisk build //Sources/SignHereTool:sign-here -c opt --macos_cpus=x86_64,arm64
- uses: actions/upload-artifact@v3
with:
name: sign-here
path: bazel-bin/Sources/SignHereTool/sign-here
if-no-files-found: error
executable-bzlmod:
name: Build macos_command_line_application w/bzlmod
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- run: bazelisk build //Sources/SignHereTool:sign-here -c opt --macos_cpus=x86_64,arm64 --enable_bzlmod
- uses: actions/upload-artifact@v3
with:
name: sign-here
path: bazel-bin/Sources/SignHereTool/sign-here
if-no-files-found: error