-
Notifications
You must be signed in to change notification settings - Fork 0
Sync fork to upstream v0.91.1 (drop re-add GHA SHA pins, merge 353 upstream commits) #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 250 commits
f1437a8
f1ee614
cd4eb06
e0ff144
6eeb0b9
8de53d9
1ef992c
da6ac17
ee40e44
c24dbeb
2e3120f
27a59d9
d49346c
6e3f7e5
b429336
5daef68
9f5506c
386879b
3a52b16
abe022d
f55775a
eeae5bf
25afa20
61f17fa
ee91fa4
18b653a
3026ad4
1526827
0bf561b
2a3295a
87ccde2
e3c6c41
6436f0e
d7da4c4
b044203
83ba6d2
6151fe0
173131c
0eb2717
374a67c
631f7cd
03f5741
0986c2a
6c832df
2d8939a
239d9d5
bfde770
3eba3df
4a61ab4
fda8700
dd29cdd
a0738e5
370c2a7
41e650d
650f4c5
e3c4b6f
4e0d59d
212ff39
ed69b89
a6bf817
b555986
30baf34
18226a6
a2a7a6c
30175db
fe8316d
0d34f9d
9e11659
26bc862
dfb0bef
09e4620
03c687b
b4c8803
a954deb
a3e1fcc
f2635cc
34429ea
57a915e
061d2ad
e4063e0
092b9a5
dd2fe8f
ec584b4
e2c4a4e
43cd3aa
bef4bd8
14cd25d
05ad042
3c08842
dc99897
1853fa7
62cd8c0
e4177c2
c9f5a27
46960e2
e01a2f7
942a56c
bf7eaa9
5596552
3dfbd14
95e8c78
f8269ed
3b6e239
b4b864a
d355901
6ddfe17
f5a13a1
ca64820
a2cee3d
581590a
dc21341
ea1c6ba
d9362ae
5622d81
979a3ab
b1589cc
ae92077
7b5b451
2d19ae2
cdd1289
ce33809
2d6ec5c
513aafe
07d8357
008ae6d
3ba0523
d2d5b33
843d10d
4f6334d
f208a87
55a5d1e
31aadeb
f31062a
1a77e8d
696a5d4
610244a
0099bc5
96aef5e
26e70ed
ee144ae
0c119c3
95fe450
47ce0b2
9af7e07
a3d375c
4183254
c29ac75
1ebd474
21e799a
6f1e162
6fe90a3
9696dfb
69d1d51
103886e
ccd4c43
5114b6a
649d4b8
8b9ea57
e2aa473
a54593c
e9485c9
a43587f
a44c505
33a0ee6
126e25b
71bb7d1
07070e3
4387bf8
cb53b54
7cc0ee1
d5f6b56
210b799
806545f
e3da59d
a514ff8
14e8924
fa14ddf
478fe1d
df643c9
f1f379d
d86b883
8d4ca8f
7c1eb23
20e395a
e72b986
4a09775
f70e5ae
875101d
31190a3
c442f3b
e2fe0f6
05ef03b
e97088f
a28f24d
0c29da4
b92159c
ba264c7
e0560ac
6e07d48
d77dbac
068baca
6faf238
d974213
aa9e3f9
00d41b5
d57c182
aa86fc4
ce3c858
31e9812
54dc4d0
858de42
74055f5
ceb3fb7
2c52df1
748f235
174e9c6
470a461
c0d9492
74022be
40b8494
d316e2a
7b06ccb
9c6245e
31cc90a
7f9b7d7
6a46859
7691512
8ebc582
5031be8
7555098
78e44e9
b766f86
e9bb76e
7a93a25
9cb9c10
fd47118
2401745
5f3b162
59e2e85
a4d9540
3bf18fe
0cf7252
5065cdd
7cd974c
5da9efd
3b403aa
3b4ec8b
b9f8a73
e989e9f
7f34132
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| * @c-cube @mattjbray | ||
| * @c-cube | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| name: format | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
|
|
||
| jobs: | ||
| format: | ||
| name: format | ||
| runs-on: ubuntu-latest | ||
| container: ghcr.io/ocaml-tracing/ocaml-opentelemetry/ci-4.14:latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v6 | ||
|
|
||
| - run: opam exec -- make format-check | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,62 +11,37 @@ jobs: | |
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| os: | ||
| - ubuntu-latest | ||
| #- windows-latest | ||
| #- macos-latest | ||
| ocaml-compiler: | ||
| - 4.08.x | ||
| - 4.13.x | ||
| - 5.0.x | ||
| - 5.3.x | ||
|
|
||
| runs-on: ${{ matrix.os }} | ||
| include: | ||
| - ocaml-version: "4.08" | ||
| container: ghcr.io/ocaml-tracing/ocaml-opentelemetry/ci-4.08:latest | ||
| eio: false | ||
| - ocaml-version: "4.14" | ||
| container: ghcr.io/ocaml-tracing/ocaml-opentelemetry/ci-4.14:latest | ||
| eio: false | ||
| - ocaml-version: "5.4" | ||
| container: ghcr.io/ocaml-tracing/ocaml-opentelemetry/ci-5.4:latest | ||
| eio: true | ||
|
|
||
| runs-on: ubuntu-latest | ||
| container: ${{ matrix.container }} | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 | ||
| - uses: actions/checkout@v6 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
🎈 Fixed in commit 7f34132 🎈 |
||
| with: | ||
| submodules: recursive | ||
|
|
||
| # needed for depext to work | ||
| - run: sudo apt-get update && sudo apt-get install mccs | ||
| if: ${{ matrix.os == 'ubuntu-latest' }} | ||
|
|
||
| - name: Use OCaml ${{ matrix.ocaml-compiler }} | ||
| uses: ocaml/setup-ocaml@15d660006c1d3110d77c34b7faa3bddefe8b82f0 # v3.7.0 | ||
| with: | ||
| ocaml-compiler: ${{ matrix.ocaml-compiler }} | ||
| opam-depext-flags: --with-test | ||
| dune-cache: true | ||
| allow-prerelease-opam: true | ||
|
|
||
| - run: | | ||
| opam pin ocaml-protoc 3.0.1 -y -n | ||
| opam pin pbrt 3.0.1 -y -n | ||
| opam install pbrt -y | ||
|
|
||
| # We cannot install packages that need eio on ocaml versions before 5 | ||
| - run: | | ||
| packages=$(ls ./*.opam | grep -v eio) | ||
| opam install $packages --deps-only --with-test --solver=mccs | ||
| if: ${{ ! (startsWith(matrix.ocaml-compiler, '5')) }} | ||
|
|
||
| # We should be able to install all packages on ocaml 5 | ||
| - run: opam install . --deps-only --with-test --solver=mccs | ||
| if: ${{ startsWith(matrix.ocaml-compiler, '5') }} | ||
|
|
||
| - run: opam exec -- dune build @install -p opentelemetry,opentelemetry-lwt,opentelemetry-client-ocurl,opentelemetry-cohttp-lwt,opentelemetry-client-cohttp-lwt,opentelemetry-logs | ||
| - name: Build | ||
| run: opam exec -- dune build @install -p opentelemetry,opentelemetry-client,opentelemetry-lwt,opentelemetry-cohttp-lwt,opentelemetry-client-ocurl,opentelemetry-client-ocurl-lwt,opentelemetry-client-cohttp-lwt,opentelemetry-logs | ||
|
|
||
| - run: opam pin trace --dev -y -n | ||
| - run: opam install trace | ||
| - run: opam exec -- dune build @install -p opentelemetry | ||
| - name: Build eio packages | ||
| if: ${{ matrix.eio }} | ||
| run: opam exec -- dune build @install -p opentelemetry-client-cohttp-eio,opentelemetry,opentelemetry-client,opentelemetry-lwt,opentelemetry-cohttp-lwt,opentelemetry-client-ocurl,opentelemetry-client-ocurl-lwt,opentelemetry-client-cohttp-lwt,opentelemetry-logs | ||
|
|
||
| - run: opam install ocaml-protoc | ||
| - run: opam exec -- dune build @lint | ||
| - name: Lint (protoc check) | ||
| run: opam exec -- dune build @lint | ||
|
|
||
| # check that nothing changed | ||
| - run: git diff --exit-code | ||
| - name: Check no generated files changed | ||
| run: git diff --exit-code | ||
|
|
||
| - run: opam exec -- dune build @runtest | ||
| if: ${{ matrix.os == 'ubuntu-latest' }} | ||
| - name: Run tests | ||
| run: opam exec -- dune build @runtest | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,3 +6,5 @@ _opam | |
| .merlin | ||
| *.install | ||
| *.exe | ||
| *.tmp | ||
| /.env | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| repos: | ||
| - repo: local | ||
| hooks: | ||
| - id: ocamlformat | ||
| name: ocamlformat check | ||
| entry: make format-check | ||
| language: system | ||
| files: \.(ml|mli)$ | ||
| pass_filenames: false | ||
| stages: [pre-push] |
Uh oh!
There was an error while loading. Please reload this page.