Skip to content

Add ISO 7064 Mod 97, 10 algorithm #11

Add ISO 7064 Mod 97, 10 algorithm

Add ISO 7064 Mod 97, 10 algorithm #11

Workflow file for this run

name: CI
on:
push:
pull_request:
branches: [main]
workflow_dispatch:
jobs:
fmt:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ocaml-base-compiler.4.14.1
- name: Install ocamlformat
run: make install-ocamlformat
- name: Format code
run: opam exec -- dune build @fmt
build:
name: Build and test
needs: [fmt]
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
ocaml-compiler:
- ocaml-base-compiler.4.14.1
steps:
- uses: actions/checkout@v4
- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- name: Install opam dependencies
run: opam install --deps-only --with-test .
- name: Build project
run: opam exec -- dune build @install
- name: Run tests
run: opam exec -- dune test