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
22
33on :
44 push :
1515
1616
1717jobs :
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/setup-bazel@0.14.0
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+
1846 build-macos :
1947 runs-on : macos-latest
2048 steps :
3563 - name : Upload sparrow-cli.tar.gz artifact
3664 uses : actions/upload-artifact@v4
3765 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