File tree Expand file tree Collapse file tree 1 file changed +31
-3
lines changed Expand file tree Collapse file tree 1 file changed +31
-3
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-22.04
20
+ steps :
21
+ - name : Checkout repository
22
+ uses : actions/checkout@v4
23
+ with :
24
+ submodules : true
25
+ - name : Install Software
26
+ run : |
27
+ sudo apt-get update && sudo apt-get install -y python3 nodejs clang-13 libclang-13-dev python3-pip build-essential
28
+ sudo python3 -m pip install pip==24.0
29
+ sudo ln -sf /usr/bin/python3 /usr/bin/python
30
+ sudo ln -sf /usr/bin/clang-13 /usr/bin/clang
31
+ sudo ln -sf /usr/bin/clang++-13 /usr/bin/clang++
32
+ - name : Set up Bazel
33
+ uses :
bazel-contrib/[email protected]
34
+ with :
35
+ bazelisk-cache : true
36
+ disk-cache : ${{ github.workflow }}
37
+ repository-cache : true
38
+ - name : Build All
39
+ run : bazel build //...
40
+ - name : Upload sparrow-cli.tar.gz artifact
41
+ uses : actions/upload-artifact@v4
42
+ with :
43
+ name : sparrow-cli-linux
44
+ path : bazel-bin/sparrow-cli-linux.tar.gz
45
+
18
46
build-macos :
19
47
runs-on : macos-latest
20
48
steps :
35
63
- name : Upload sparrow-cli.tar.gz artifact
36
64
uses : actions/upload-artifact@v4
37
65
with :
38
- name : sparrow-cli
39
- path : bazel-bin/sparrow-cli.tar.gz
66
+ name : sparrow-cli-macos
67
+ path : bazel-bin/sparrow-cli-mac .tar.gz
You can’t perform that action at this time.
0 commit comments