Skip to content

Commit d69747d

Browse files
committed
add depexts for xxhash
1 parent 390b065 commit d69747d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,6 @@ jobs:
5555
dune-cache: true
5656
opam-disable-sandboxing: true
5757

58-
- name: Install xxhash (ubuntu)
59-
if: matrix.os == 'ubuntu-latest'
60-
run: sudo apt-get install -y libxxhash-dev
61-
62-
- name: Install xxhash (macOS)
63-
if: matrix.os == 'macos-latest'
64-
run: env HOMEBREW_NO_AUTO_UPDATE=1 brew install xxhash
65-
6658
- name: Install deps
6759
run: opam install . --deps-only --with-doc --with-test
6860

server-reason-react.opam

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,7 @@ build: [
4646
"@new-doc" {with-doc}
4747
]
4848
]
49+
depexts: [
50+
["xxhash"] {os = "macos" & os-distribution = "homebrew"}
51+
["libxxhash-dev"] {os-family = "debian"}
52+
]

server-reason-react.opam.template

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ build: [
1313
"@new-doc" {with-doc}
1414
]
1515
]
16+
depexts: [
17+
["xxhash"] {os = "macos" & os-distribution = "homebrew"}
18+
["libxxhash-dev"] {os-family = "debian"}
19+
]

0 commit comments

Comments
 (0)