Skip to content

Commit 6089126

Browse files
committed
Get Bazel build working again
1 parent 8ba35da commit 6089126

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,20 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- uses: actions/checkout@v2
29-
- run: yarn global add @bazel/bazelisk
30-
- run: bazel build //... --//semanticdb-javac:enabled=true
31-
- run: bazel run scip-semanticdb:bazel -- --sourceroot "$PWD"
29+
- run:
30+
curl -Lo bazel
31+
https://github.com/bazelbuild/bazelisk/releases/download/v1.16.0/bazelisk-linux-amd64
32+
- run: chmod +x bazel
33+
- run: ./bazel --version
34+
- run: ./bazel build //... --//semanticdb-javac:enabled=true
35+
- run: ./bazel run scip-semanticdb:bazel -- --sourceroot "$PWD"
3236
- run: du -h index.scip
33-
- run: bazel build //... --@scip_java//semanticdb-javac:enabled=true
37+
- run:
38+
./../../bazel build //... --@scip_java//semanticdb-javac:enabled=true
3439
working-directory: examples/bazel-example
35-
- run: bazel run @scip_java//scip-semanticdb:bazel -- --sourceroot "$PWD"
40+
- run:
41+
./../../bazel run @scip_java//scip-semanticdb:bazel -- --sourceroot
42+
"$PWD"
3643
working-directory: examples/bazel-example
3744
- run: du -h index.scip
3845
working-directory: examples/bazel-example

0 commit comments

Comments
 (0)