Skip to content

Add patch for XSI-1457 to ocaml-vhd #130

Add patch for XSI-1457 to ocaml-vhd

Add patch for XSI-1457 to ocaml-vhd #130

Workflow file for this run

name: Build and test (Yangtze)
on:
push:
branches:
- 'release/yangtze/lcm'
tags:
- '*'
pull_request:
branches:
- 'release/yangtze/lcm'
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Update apt cache
run: sudo apt-get update
- name: Checkout
uses: actions/checkout@v3
- name: Check whether there are unlicensed packages
run: tools/license-check.sh
- name: Use ocaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: "4.08.1"
opam-repositories: |
xs-opam: "."
opam-disable-sandboxing: true
opam-pin: false
- name: Build xs-toolstack, test its dependencies
# opam install may ignore installing depexts sometimes
# OPAMCOLOR is set to "always" by default and it breaks piping
run: |
OPAMERRLOGLEN=10000 OPAMCOLOR=NEVER opam list -s --required-by xs-toolstack | xargs opam depext -tu
OPAMERRLOGLEN=10000 OPAMCOLOR=NEVER opam list -s --required-by xs-toolstack | xargs opam install -t
- name: Uninstall unversioned packages
# This should purge them from the cache, unversioned package have
# 'master' as its version
run: opam list | awk -F " " '$2 == "master" { print $1 }' | xargs opam uninstall