GA(deps): Bump ocaml/setup-ocaml from 2 to 3 #3
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] | |
jobs: | |
run: | |
name: Tests | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest] | |
ocaml-version: [ '4.08.1', '4.09.1', '4.10.1', '4.11.2', '4.12.0'] | |
steps: | |
- uses: actions/checkout@master | |
- uses: ocaml/setup-ocaml@v3 | |
with: | |
ocaml-version: ${{ matrix.ocaml-version }} | |
- run: | | |
opam pin add aws.dev -n . | |
opam pin add aws-lwt.dev -n . | |
opam pin add aws-async.dev -n . | |
# Pin the generated bindings | |
opam pin add aws-autoscaling.dev -n . | |
opam pin add aws-cloudformation.dev -n . | |
opam pin add aws-cloudtrail.dev -n . | |
opam pin add aws-cloudwatch.dev -n . | |
opam pin add aws-ec2.dev -n . | |
opam pin add aws-elasticache.dev -n . | |
opam pin add aws-elasticloadbalancing.dev -n . | |
opam pin add aws-rds.dev -n . | |
opam pin add aws-route53.dev -n . | |
opam pin add aws-sdb.dev -n . | |
opam pin add aws-sqs.dev -n . | |
opam pin add aws-ssm.dev -n . | |
opam pin add aws-sts.dev -n . | |
- name: Packages | |
run: | | |
opam depext -yt aws aws-lwt aws-async \ | |
aws-autoscaling aws-cloudformation aws-cloudtrail \ | |
aws-cloudwatch aws-ec2 aws-elasticache \ | |
aws-elasticloadbalancing \ | |
aws-rds aws-route53 aws-sdb aws-sqs aws-ssm aws-sts | |
- name: Dependencies | |
run: opam install -t . --deps-only | |
- name: Build | |
run: opam exec -- dune build | |
# Running tests requires AWS permissions disabling for now. | |
# - name: Test | |
# run: opam exec -- dune runtest |