Skip to content

Commit 6825c5d

Browse files
committed
Install H3 on CI.
1 parent 8c950b7 commit 6825c5d

File tree

2 files changed

+39
-12
lines changed

2 files changed

+39
-12
lines changed

.github/workflows/ruby_ci.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,21 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
os: [ubuntu-latest, macos-latest]
14+
# os: [ubuntu-latest, macos-latest]
15+
os: [macos-latest]
1516
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
16-
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3']
17+
ruby: ['3.2', '3.3', '3.4']
18+
include:
19+
# - os: ubuntu-latest
20+
# install_h3: git clone https://github.com/uber/h3.git && cd h3 && git checkout v4.2.1 && sudo apt install cmake make gcc libtool && mkdir build && cd build && cmake -DBUILD_SHARED_LIBS=true .. && cmake --build .
21+
- os: macos-latest
22+
install_h3: brew install h3
1723
runs-on: ${{ matrix.os }}
1824
steps:
1925
- uses: actions/checkout@v4
2026
- uses: ruby/setup-ruby@v1
2127
with:
2228
ruby-version: ${{ matrix.ruby }}
2329
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
30+
- run: ${{ matrix.install_h3 }}
2431
- run: bundle exec rake

Gemfile.lock

+30-10
Original file line numberDiff line numberDiff line change
@@ -10,36 +10,56 @@ GEM
1010
remote: https://rubygems.org/
1111
specs:
1212
coderay (1.1.3)
13-
diff-lcs (1.5.1)
13+
diff-lcs (1.6.1)
1414
ffi (1.17.1)
15-
method_source (1.0.0)
15+
ffi (1.17.1-aarch64-linux-gnu)
16+
ffi (1.17.1-aarch64-linux-musl)
17+
ffi (1.17.1-arm-linux-gnu)
18+
ffi (1.17.1-arm-linux-musl)
19+
ffi (1.17.1-arm64-darwin)
20+
ffi (1.17.1-x86-linux-gnu)
21+
ffi (1.17.1-x86-linux-musl)
22+
ffi (1.17.1-x86_64-darwin)
23+
ffi (1.17.1-x86_64-linux-gnu)
24+
ffi (1.17.1-x86_64-linux-musl)
25+
method_source (1.1.0)
1626
multi_json (1.15.0)
1727
pry (0.15.2)
1828
coderay (~> 1.1)
1929
method_source (~> 1.0)
2030
rake (13.2.1)
21-
rgeo (3.0.0)
31+
rgeo (3.0.1)
2232
rgeo-geojson (2.2.0)
2333
multi_json (~> 1.15)
2434
rgeo (>= 1.0.0)
2535
rspec (3.13.0)
2636
rspec-core (~> 3.13.0)
2737
rspec-expectations (~> 3.13.0)
2838
rspec-mocks (~> 3.13.0)
29-
rspec-core (3.13.0)
39+
rspec-core (3.13.3)
3040
rspec-support (~> 3.13.0)
31-
rspec-expectations (3.13.0)
41+
rspec-expectations (3.13.3)
3242
diff-lcs (>= 1.2.0, < 2.0)
3343
rspec-support (~> 3.13.0)
34-
rspec-mocks (3.13.0)
44+
rspec-mocks (3.13.2)
3545
diff-lcs (>= 1.2.0, < 2.0)
3646
rspec-support (~> 3.13.0)
37-
rspec-support (3.13.1)
47+
rspec-support (3.13.2)
3848
yard (0.9.37)
39-
zeitwerk (2.6.18)
49+
zeitwerk (2.7.2)
4050

4151
PLATFORMS
42-
arm64-darwin-24
52+
aarch64-linux-gnu
53+
aarch64-linux-musl
54+
arm-linux-gnu
55+
arm-linux-musl
56+
arm64-darwin
57+
ruby
58+
x86-linux-gnu
59+
x86-linux-musl
60+
x86_64-darwin
61+
x86_64-linux-gnu
62+
x86_64-linux-musl
4363

4464
DEPENDENCIES
4565
h3!
@@ -49,4 +69,4 @@ DEPENDENCIES
4969
yard (~> 0.9)
5070

5171
BUNDLED WITH
52-
2.6.6
72+
2.6.7

0 commit comments

Comments
 (0)