File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+ branches : [ "master" ]
6+
7+ jobs :
8+ build :
9+
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v4
14+ - name : Set up JDK 17
15+ uses : actions/setup-java@v3
16+ with :
17+ java-version : ' 17'
18+ distribution : ' temurin'
19+ - name : Install Bazel
20+ run : |
21+ sudo apt install apt-transport-https curl gnupg -y
22+ curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-archive-keyring.gpg
23+ sudo mv bazel-archive-keyring.gpg /usr/share/keyrings
24+ echo "deb [arch=amd64 signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
25+ sudo apt update
26+ sudo apt install bazel -y
27+ - name : Build
28+ run : |
29+ chmod +X build.sh
30+ ./build.sh
31+ - name : Test
32+ run : bazel test :all
You can’t perform that action at this time.
0 commit comments