Merge pull request #134 from Nymphium/ocaml-5.0 #119
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
name: AWS CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
ocaml-compiler: | |
- 4.08.x | |
- 4.12.x | |
- 4.13.x | |
- 4.14.x | |
- 5.00.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 dependencies | |
run: | | |
opam install . --deps-only --with-test --yes | |
- name: Build | |
run: | | |
opam exec -- dune build @all | |
- name: Tests | |
run: | | |
opam exec -- dune build @runtest | |
- name: Opam lint | |
run: | | |
opam lint aws.opam aws-lwt.opam aws-async.opam \ | |
aws-autoscaling.opam aws-cloudformation.opam aws-cloudtrail.opam \ | |
aws-cloudwatch.opam aws-ec2.opam aws-elasticache.opam \ | |
aws-elasticloadbalancing.opam \ | |
aws-rds.opam aws-route53.opam aws-sdb.opam aws-sqs.opam aws-ssm.opam aws-sts.opam |