Skip to content

Commit

Permalink
Add basic CI workflow #WIP opam-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
smondet committed Nov 5, 2021
1 parent beae3f8 commit e38921e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 36 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Imported form Setup-OCaml
name: Main build/test
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
ocaml-compiler:
- 4.12.x
- 4.13.x
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- run: opam install tezos-contract-metadata.opam --deps-only --with-test
- run: opam exec -- dune build
- run: opam exec -- dune runtest
2 changes: 1 addition & 1 deletion tezos-contract-metadata-cli.opam
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ depends: [
"odoc" {with-doc}
]
build: [
["dune" "subst" "--root" "."] {dev}
# ["dune" "subst" "--root" "."] {dev}
[
"dune"
"build"
Expand Down
35 changes: 0 additions & 35 deletions tezos-contract-metadata-test.opam

This file was deleted.

0 comments on commit e38921e

Please sign in to comment.