We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5246e52 commit bc6a1a6Copy full SHA for bc6a1a6
.github/workflows/run-all-tests.yml
@@ -0,0 +1,34 @@
1
+name: Build all targets and run all tests
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+ workflow_dispatch:
10
11
+jobs:
12
13
+ build_and_test:
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - uses: actions/checkout@v2
18
19
+ - name: Set up JDK
20
+ uses: actions/setup-java@v1
21
+ with:
22
+ java-version: 11
23
24
+ - name: Mount bazel cache
25
+ uses: actions/cache@v2
26
27
+ path: "/home/runner/.cache/bazel"
28
+ key: bazel
29
30
+ - name: Build
31
+ run: ./bazelisk-linux-amd64 build -c opt //...
32
33
+ - name: Test
34
+ run: ./bazelisk-linux-amd64 test -c opt //...
0 commit comments