Skip to content

Commit

Permalink
Merge pull request #635 from psafont/private/paus/dedock-scheduled
Browse files Browse the repository at this point in the history
  • Loading branch information
psafont authored Mar 23, 2023
2 parents 0962059 + ef04d39 commit c61afb1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 29 deletions.
32 changes: 27 additions & 5 deletions .github/workflows/yangtze-lcm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,34 @@ jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Update apt cache
run: sudo apt-get update

- name: Checkout
uses: actions/checkout@v3
with:
ref: 'release/yangtze/lcm'
- name: Build the whole xs-toolstack
run: bash tools/travis.sh
env:
OCAML_VERSION: 4.08
OPAMWITHTEST: true

- 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
24 changes: 0 additions & 24 deletions tools/travis.sh

This file was deleted.

0 comments on commit c61afb1

Please sign in to comment.