Skip to content

Handle exception when trying to unescape default message #118

Handle exception when trying to unescape default message

Handle exception when trying to unescape default message #118

Workflow file for this run

name: CI
on:
push:
branches:
- master
tags:
- v*
pull_request:
branches:
- master
jobs:
build:
name: Build and test on ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-20.04
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- name: "Windows: Set git to use LF"
if: runner.os == 'Windows'
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Use OCaml 4.14.0
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 4.14.0
opam-pin: false
opam-depext: false
- name: OPAM install
run: opam install . --deps-only --with-test
- name: Check format
run: opam exec -- dune build @fmt
- name: Build
run: opam exec -- dune build
- name: Test
run: opam exec -- dune runtest
- name: (release only) Get artifact
id: get_artifact
if: github.event_name != 'pull_request'
run: node .github/workflows/get_artifact.js
- name: (release only) Upload artifact ${{ matrix.os }}
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v2
with:
name: ${{ steps.get_artifact.outputs.artifact_name }}
path: ${{ steps.get_artifact.outputs.exe_name }}