Skip to content

make bindoj_gen omit proper doc string (#394) #39

make bindoj_gen omit proper doc string (#394)

make bindoj_gen omit proper doc string (#394) #39

Workflow file for this run

name: Matrix Check
on:
pull_request_review:
types: [submitted]
workflow_dispatch:
inputs:
ref:
description: branch|tag|SHA to checkout
default: 'main'
required: true
push:
branches:
- main
jobs:
matrix-check:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
ocaml-version:
- 4.13.x
- 4.14.x
- 5.0.x
- 5.1.x
node-version:
- lts/gallium # v16 Active LTS
- lts/hydrogen # v18 Active LTS
- 20
if: |
( github.event.review.state == 'approved' &&
github.repository == 'kxcinc/bindoj'
) || github.event_name != 'pull_request_review'
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 2
- name: Use OCaml ${{ matrix.ocaml-version }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-version }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
cache-dependency-path: 'with_js/yarn.lock'
- name: Cache OPAM switch
id: cache-switch
uses: actions/cache@v3
with:
path: _opam
key: v1-${{ runner.os }}-${{ matrix.ocaml-version }}-opam-switch
- name: check OCaml version and workspace info
run: ./scripts/ci_print_env.sh
- run: sudo ./scripts/ci_setup_ubuntu.sh
- name: Install dependencies
run: opam install . --deps-only --with-test
- name: build & test
run: ./scripts/ci_run.sh
setup-ocaml-matrix-checked:
needs: matrix-check
runs-on: ubuntu-latest
steps:
- run: echo "all set"