Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

menhir-recover: add interface file forAttributes#650

menhir-recover: add interface file forAttributes

menhir-recover: add interface file forAttributes #650

Workflow file for this run

name:esy CI
on:
pull_request:
push:
branches:
-master
concurrency:
group:${{ github.workflow }}-${{ github.ref }}
cancel-in-progress:true
defaults:
run:
shell:bash
jobs:
build:
name:Build
strategy:
fail-fast:false
matrix:
os:
-ubuntu-latest
-macos-13
-windows-latest
ocaml-compiler:
-4.14.x
runs-on:${{ matrix.os }}
steps:
-uses:actions/checkout@v4
-uses:actions/setup-node@v4
with:
node-version:20
-name:Install esy
run:npm install -g esy@0.9.0-beta.1
-name:Restore global cache (~/.esy/source)
id:global-cache
uses:actions/cache/restore@v4
with:
path:~/.esy/source
key:esy-source-${{ matrix.os }}-${{ matrix.ocaml-compiler }}-${{ hashFiles('esy.lock.json') }}
-name:Print esy cache
id:print_esy_cache
run:echo "ESY_CACHE=$(node .github/workflows/print-esy-cache.js)" >> $GITHUB_OUTPUT;
-name:Load dependencies cache
id:deps-cache
uses:actions/cache/restore@v4
with:
path:|
${{ steps.print_esy_cache.outputs.ESY_CACHE }}
_export
key:esy-build-${{ matrix.os }}-${{ matrix.ocaml-compiler }}-${{ hashFiles('esy.lock.json') }}
restore-keys:esy-build-${{ matrix.os }}-
-name:Install dependencies
run:esy install
-name:Import dependencies
if:steps.deps-cache.outputs.cache-hit == 'true'
# Don't crash the run if esy cache import fails - mostly happens on Windows
continue-on-error:true
run:|
esy import-dependencies _export
rm -rf _export
-name:Build dependencies
run:esy build-dependencies
-name:Build
run:esy build
-name:Test when not Windows
if:runner.os != 'Windows'
run:esy dune runtest
-name:Test when Windows
if:runner.os == 'Windows'
run:esy b dune runtest -p "reason,rtop"
-name:Export dependencies
if:steps.deps-cache.outputs.cache-hit != 'true'
run:esy export-dependencies
-name:Save global cache
uses:actions/cache/save@v4
if:steps.global-cache.outputs.cache-hit != 'true'
with:
path:~/.esy/source
key:esy-source-${{ matrix.os }}-${{ matrix.ocaml-compiler }}-${{ hashFiles('esy.lock.json') }}
-name:Save dependencies cache
if:steps.deps-cache.outputs.cache-hit != 'true'
uses:actions/cache/save@v4
with:
path:|
${{ steps.print_esy_cache.outputs.ESY_CACHE }}
_export
key:esy-build-${{ matrix.os }}-${{ matrix.ocaml-compiler }}-${{ hashFiles('esy.lock.json') }}
# Cleanup build cache in case dependencies have changed
-name:Cleanup
if:steps.deps-cache.outputs.cache-hit != 'true'
run:esy cleanup .

[8]ページ先頭

©2009-2025 Movatter.jp