Skip to content

Add Oxford to “known” protocols #299

Add Oxford to “known” protocols

Add Oxford to “known” protocols #299

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
run:
name: Build
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
#operating-system: [ubuntu-latest]
operating-system: [macos-latest, ubuntu-latest] #, windows-latest]
ocaml-compiler: [ '4.12.0', '4.13.1' ]
steps:
- uses: actions/checkout@v2
- name: Cache
uses: actions/cache@v2
with:
# A directory to store and save the cache
path: ~/.opam
# An explicit key for restoring and saving the cache
key: ${{ matrix.operating-system }}-${{ matrix.ocaml-compiler }}-${{ hashFiles('please.sh', '**/dune') }}-build
- name: Set up OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- run: global_switch=true ./please.sh ensure setup
- run: opam exec -- dune --version
- run: ./please.sh ensure linting
- run: ./please.sh build all
- run: ./please.sh deploy website deploy/
- name: Archive deployed TZComet
uses: actions/upload-artifact@v2
with:
name: deployed-website
path: deploy/