File tree 1 file changed +37
-0
lines changed
1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI (Bazel experiment)
2
+
3
+ on :
4
+ pull_request :
5
+ types : ['opened', 'reopened', 'synchronize']
6
+ push :
7
+ branches :
8
+ - main
9
+
10
+ env :
11
+ CI : 1
12
+ CARGO_INCREMENTAL : 0
13
+ CARGO_TERM_COLOR : " always"
14
+ DIFF : 0
15
+ # For faster CI
16
+ RUST_LOG : " off"
17
+ # https://github.com/swc-project/swc/pull/3742
18
+ RUST_MIN_STACK : 4194304
19
+
20
+ # Clippy is globally enabled via .bazelrc configuration, no need separate ci job
21
+ jobs :
22
+ build :
23
+ name : Build, test
24
+ environment : BAZEL
25
+ runs-on : ubuntu-latest
26
+ steps :
27
+ - uses : actions/checkout@v3
28
+ with :
29
+ submodules : true
30
+ - uses : bazelbuild/setup-bazelisk@v2
31
+ - name : Run bazel build for all targets
32
+ env :
33
+ BUILDBUDDY_API_KEY : ${{ secrets.BUILDBUDDY_API_KEY }}
34
+ run : |
35
+ echo "build --remote_header=x-buildbuddy-api-key=$BUILDBUDDY_API_KEY" > .bazelrc.user
36
+ bazel build //...
37
+ bazel test --test_output=all //...
You can’t perform that action at this time.
0 commit comments