Skip to content

Add GHA workflow

Add GHA workflow #3

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- '**'
jobs:
test:
name: Run learn-ocaml on the corpus
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
server_image:
- 'ocamlsf/learn-ocaml:0.12'
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Run learn-ocaml on the corpus
run: |
mkdir www
docker run --rm -v "$PWD":/repository" -v "$PWD/www:/home/learn-ocaml/www" "$PWD${{ matrix.server_image }} build
ls -l www