Skip to content

Commit 930a662

Browse files
authored
Add Homebrew to precise code-nav examples (#336)
1 parent 0671cfa commit 930a662

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/scip-examples.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ jobs:
3737
- repository: vuejs/core
3838
scip_binary: scip-typescript
3939
scip_args: "index"
40-
# scip-ruby does not have a Docker container image that we can use
41-
# out of the box. The existing one is for autoindexing purposes only.
42-
# - repository: Homebrew/brew
43-
# scip_binary: scip-ruby
44-
# scip_args: ""
40+
- repository: Homebrew/brew
41+
scip_binary: scip-ruby
42+
# We pass gem-metadata as an easy alternative to directly
43+
# linking to brew/Library/Homebrew/Gemfile.lock.
44+
scip_args: "--gem-metadata homebrew@latest ."
4545
- repository: serde-rs/serde
4646
scip_binary: scip-rust
4747
scip_args: ""
@@ -86,6 +86,11 @@ jobs:
8686
${{ runner.os }}-maven-${{ matrix.target.repository }}-
8787
${{ runner.os }}-maven-
8888
89+
- name: Install curl
90+
if: ${{ matrix.target.scip_binary == 'scip-ruby' }}
91+
run: |
92+
apk add --no-cache curl
93+
8994
- name: Setup Rust toolchain
9095
if: ${{ matrix.target.scip_binary == 'scip-rust' }}
9196
uses: actions-rust-lang/setup-rust-toolchain@v1

0 commit comments

Comments
 (0)