-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
05336d3
commit 98b294b
Showing
6 changed files
with
81 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Opam Pipeline | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
name: Build and test | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
# - macos-latest | ||
- ubuntu-latest | ||
ocaml-compiler: | ||
- 5.x | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Use OCaml ${{ matrix.ocaml-compiler }} | ||
uses: ocaml/setup-ocaml@v2 | ||
with: | ||
ocaml-compiler: ${{ matrix.ocaml-compiler }} | ||
|
||
- name: Install locally | ||
run: | | ||
# https://github.com/ocaml/opam-repository/pull/23539 | ||
opam pin add eio-ssl git+https://github.com/anmonteiro/eio-ssl.git | ||
opam install . --with-test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
pin-depends: [ | ||
[ "httpaf.dev" "git+https://github.com/anmonteiro/httpaf.git" ] | ||
[ "httpaf-eio.dev" "git+https://github.com/anmonteiro/httpaf.git" ] | ||
# https://github.com/ocaml/opam-repository/pull/23533 | ||
[ "h2.dev" "git+https://github.com/anmonteiro/ocaml-h2.git" ] | ||
[ "h2-eio.dev" "git+https://github.com/anmonteiro/ocaml-h2.git" ] | ||
[ "websocketaf.dev" "git+https://github.com/anmonteiro/websocketaf.git" ] | ||
[ "multipart_form.dev" "git+https://github.com/anmonteiro/multipart_form.git" ] | ||
] |