File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change 1
- name : Bazel CLI Build (macOS)
1
+ name : Bazel CLI Build
2
2
3
3
on :
4
4
push :
15
15
16
16
17
17
jobs :
18
+ build-linux :
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - name : Checkout repository
22
+ uses : actions/checkout@v4
23
+ with :
24
+ submodules : true
25
+ - name : Install python3
26
+ run : sudo apt-get update && sudo apt-get install -y python3
27
+ - name : Set up Bazel
28
+ uses :
bazel-contrib/[email protected]
29
+ with :
30
+ bazelisk-cache : true
31
+ disk-cache : ${{ github.workflow }}
32
+ repository-cache : true
33
+ - name : Build All
34
+ run : bazel build //...
35
+ - name : Upload sparrow-cli.tar.gz artifact
36
+ uses : actions/upload-artifact@v4
37
+ with :
38
+ name : sparrow-cli-linux
39
+ path : bazel-bin/sparrow-cli.tar.gz
40
+
18
41
build-macos :
19
42
runs-on : macos-latest
20
43
steps :
35
58
- name : Upload sparrow-cli.tar.gz artifact
36
59
uses : actions/upload-artifact@v4
37
60
with :
38
- name : sparrow-cli
61
+ name : sparrow-cli-macos
39
62
path : bazel-bin/sparrow-cli.tar.gz
You can’t perform that action at this time.
0 commit comments