Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
374 commits
Select commit Hold shift + click to select a range
378f098
Match interactive rewatch watch output
cknitt Sep 9, 2026
24f7955
Document remaining rewatch output parity
cknitt Sep 9, 2026
f9eb755
Test missing rewatch dependency AST errors
cknitt Sep 9, 2026
57436c0
Match rewatch warning artifact ownership
cknitt Sep 9, 2026
ab7d563
Strengthen rewatch artifact equivalence gate
cknitt Sep 9, 2026
85e8a66
Allow omitted rewatch debug artifacts
cknitt Sep 9, 2026
8e7826b
Match rewatch dependency reservation order
cknitt Sep 9, 2026
465e436
Preserve independently built package outputs
cknitt Sep 9, 2026
34b4e2f
Preserve published dependencies during clean
cknitt Sep 9, 2026
e2dccae
Use published Belt output in rewatch fixture
cknitt Sep 9, 2026
9c34e42
Make watcher shutdown interrupt active builds
cknitt Sep 9, 2026
9d301f5
Wait for each watch configuration transition
cknitt Sep 9, 2026
a20e48e
Record full OCaml rewatch test pass
cknitt Sep 9, 2026
1daa109
Reorder platform and output parity gates
cknitt Sep 9, 2026
e194445
Match dependency graph validation diagnostics
cknitt Sep 9, 2026
e27e6a4
Align restricted feature validation with Rust
cknitt Sep 9, 2026
228e8be
Move OCaml rewatch tests to OUnit2
cknitt Sep 9, 2026
63530a7
Align implicit format package discovery
cknitt Sep 9, 2026
e3a5273
Format source files concurrently
cknitt Sep 9, 2026
5444641
Report after-build command failures
cknitt Sep 9, 2026
b23bd0c
Retain JS post-build failure context
cknitt Sep 9, 2026
76628c5
Filter exotic namespace map entries
cknitt Sep 9, 2026
05ca222
Record dormant dependency permission behavior
cknitt Sep 9, 2026
4f62f0b
Record consistent watch filter behavior
cknitt Sep 9, 2026
5086c9c
Match source filters against basenames
cknitt Sep 9, 2026
6ef0afb
Document source filter regex gap
cknitt Sep 9, 2026
df6c9aa
Match redirected clean progress
cknitt Sep 9, 2026
81a1936
Align failure output and cycle selection
cknitt Sep 9, 2026
d91dd70
Cover explicit format failures
cknitt Sep 9, 2026
f3ba26d
Cover implicit format project errors
cknitt Sep 9, 2026
e5851e3
Contextualize formatter file errors
cknitt Sep 9, 2026
8e81f44
Document dependency permission diagnostics
cknitt Sep 9, 2026
def4cb4
Validate runtime discovery failures
cknitt Sep 9, 2026
e5a2b0c
Retain package discovery diagnostics
cknitt Sep 9, 2026
10508e1
Cover configuration diagnostic context
cknitt Sep 9, 2026
4de2f4c
Close ordinary redirected output inventory
cknitt Sep 9, 2026
38b1de8
Cover disappearing parser sources
cknitt Sep 9, 2026
d62bb8e
Extract project context policy
cknitt Sep 9, 2026
847a841
Extract compiler log lifecycle
cknitt Sep 9, 2026
fd77b32
Extract compiler argument policy
cknitt Sep 9, 2026
0ce7bbe
Record post-refactor canonical validation
cknitt Sep 9, 2026
0b1b8db
Extract build lock lifecycle
cknitt Sep 9, 2026
91864b0
Centralize OCaml rewatch version
cknitt Sep 9, 2026
e9a3d4a
Extract compiler scheduling state machine
cknitt Sep 9, 2026
7095230
Extract watch lifecycle
cknitt Sep 9, 2026
457e0db
Extract compiler args command
cknitt Sep 9, 2026
1ca12ca
Extract compiler process lifecycle
cknitt Sep 9, 2026
27ad43f
Extract clean and package diagnostics
cknitt Sep 9, 2026
c247e1b
Extract OCaml build cycle state
cknitt Sep 9, 2026
5bec3ec
Extract OCaml package graph discovery
cknitt Sep 9, 2026
c8d3a84
Extract OCaml build freshness checks
cknitt Sep 10, 2026
6e7ddd2
Extract after-build command execution
cknitt Sep 10, 2026
618b4f1
Extract OCaml build preparation
cknitt Sep 10, 2026
fd7ef59
Extract OCaml package build planning
cknitt Sep 10, 2026
11c5cb9
Split OCaml configuration decoding
cknitt Sep 10, 2026
1900eac
Use OCaml character range patterns
cknitt Sep 10, 2026
dd15a8d
Make OCaml directory creation race-safe
cknitt Sep 10, 2026
5f84297
Match quiet build and watch output
cknitt Sep 10, 2026
a477158
Extract general OCaml filesystem utilities
cknitt Sep 10, 2026
545e642
Make OCaml lock ownership interruption-safe
cknitt Sep 10, 2026
76d9fe5
Protect OCaml capture pipe acquisition
cknitt Sep 10, 2026
158d219
Wake OCaml scheduler on child completion
cknitt Sep 10, 2026
6e4f470
Clarify OCaml module ownership
cknitt Sep 10, 2026
23fffc7
Tighten OCaml build module boundary
cknitt Sep 10, 2026
07c7e3e
Reuse OCaml filesystem cleanup helper
cknitt Sep 10, 2026
ed94448
Harden OCaml watch recovery and file publication
cknitt Sep 10, 2026
d5077dd
Record OCaml rewatch performance gate
cknitt Sep 10, 2026
785435d
Accept Cmdliner unknown-option rendering in CLI tests
cknitt Sep 10, 2026
4ada5f5
Make rewatch unit fixtures path-canonical
cknitt Sep 10, 2026
0a67dca
Handle case-insensitive rewatch test filesystems
cknitt Sep 10, 2026
fc60964
Align dependency resolution and lock ownership
cknitt Sep 10, 2026
a764343
Support the OCaml 5.0 thread API
cknitt Sep 10, 2026
e992598
Support OCaml 5.0 in rewatch tests
cknitt Sep 10, 2026
b9315a8
Patch Luv for ARM64 musl static builds
cknitt Sep 10, 2026
93a934c
Fix namespaced dependency graph resolution
cknitt Sep 10, 2026
2096069
Close rewatch CLI output parity gaps
cknitt Sep 10, 2026
b74f941
Update rewatch config diagnostic snapshot
cknitt Sep 10, 2026
757cb59
Update remaining rewatch diagnostic snapshots
cknitt Sep 10, 2026
9d09089
Scope direct workspace package dependencies
cknitt Sep 10, 2026
126638b
Fix interactive configuration warning output
cknitt Sep 10, 2026
2c8c0b7
Retain build state across source watch edits
cknitt Sep 10, 2026
5031995
Stabilize CommonJS test dependency setup
cknitt Sep 10, 2026
dc44392
Update retained watch dependency graph
cknitt Sep 10, 2026
e4f12ab
Match rewatch terminal color policy
cknitt Sep 10, 2026
0363262
Use native event paths for watch edits
cknitt Sep 10, 2026
72d82c4
Match verbose builds and watcher recovery
cknitt Sep 10, 2026
e0fab25
Match interactive build progress
cknitt Sep 10, 2026
792e83f
Harden retained watcher lifecycle
cknitt Sep 11, 2026
41ef343
Exercise watcher polling fallback
cknitt Sep 11, 2026
afb5e7d
Reject conflicting CLI verbosity
cknitt Sep 11, 2026
9cbb828
Statically link OCaml rewatch releases
cknitt Sep 11, 2026
e559959
Complete rewatch release inventories
cknitt Sep 11, 2026
4480414
Use maintained source filter regexes
cknitt Sep 11, 2026
8803244
Own Windows subprocess trees atomically
cknitt Sep 11, 2026
542a189
Harden rewatch command lifecycle
cknitt Sep 11, 2026
eeb67e5
Document rewatch release inventories
cknitt Sep 11, 2026
ee1bdc5
Narrow rewatch internal interfaces
cknitt Sep 11, 2026
58dcfd8
Complete rewatch module interfaces
cknitt Sep 11, 2026
b422bd6
Close rewatch interface and performance gates
cknitt Sep 11, 2026
a2cd05e
Align rewatch cleanup and publication phases
cknitt Sep 11, 2026
0f0a108
Align rewatch command phase ordering
cknitt Sep 11, 2026
f780a28
Canonicalize rewatch command test workspace
cknitt Sep 11, 2026
a40427f
Align rewatch parser result reporting
cknitt Sep 11, 2026
269a273
Align rewatch compiler-args phases
cknitt Sep 11, 2026
3581734
Document rewatch clean safety improvements
cknitt Sep 11, 2026
dab0a61
Align rewatch watch phase boundaries
cknitt Sep 11, 2026
5d96dfb
Record rewatch phase audit completion
cknitt Sep 11, 2026
f6ea51b
Preserve rewatch CMI invalidation after failure
cknitt Sep 11, 2026
6574f39
Correct rewatch source watch scope
cknitt Sep 11, 2026
da35267
Merge overlapping rewatch source coverage
cknitt Sep 11, 2026
bb78a28
Block all rewatch dependency cycles
cknitt Sep 11, 2026
fe0629f
Index rewatch dependency graph construction
cknitt Sep 11, 2026
2ba6422
Remove obsolete rewatch output sidecars
cknitt Sep 11, 2026
cf8e2c0
Simplify rewatch cleanup discovery
cknitt Sep 11, 2026
ba518a5
Close rewatch review cleanup phase
cknitt Sep 11, 2026
0f99234
Align rewatch compilation worker lifecycle
cknitt Sep 11, 2026
c569c91
Require prepared rewatch package state
cknitt Sep 11, 2026
82010bd
Consolidate rewatch dependency state
cknitt Sep 11, 2026
4565b56
Centralize rewatch build cleanup
cknitt Sep 11, 2026
7b807bf
Share rewatch compiler argument construction
cknitt Sep 11, 2026
43d8c33
Use normal variants for closed rewatch state
cknitt Sep 11, 2026
1b40036
Record post-alignment rewatch benchmark
cknitt Sep 11, 2026
6198ffd
Preserve CMI invalidation across publication failures
cknitt Sep 11, 2026
f410f85
Overlap parser job preparation with execution
cknitt Sep 11, 2026
691c75f
Record demand-driven parser benchmark
cknitt Sep 11, 2026
412fcc4
Report peak task count in rewatch benchmarks
cknitt Sep 11, 2026
a5daf15
Record stable post-review rewatch benchmark
cknitt Sep 11, 2026
1516e60
Document measured rewatch capture overhead
cknitt Sep 11, 2026
d580229
Make watch lock validation package-name independent
cknitt Sep 11, 2026
13945bb
Document the native Windows rewatch handoff
cknitt Sep 11, 2026
6c1b0f6
Separate open rewatch gaps from completed evidence
cknitt Sep 11, 2026
9bcd2b3
Fix retained rewatch correctness and shared package state
cknitt Sep 11, 2026
e1ce28c
Close the non-Windows rewatch release inventory
cknitt Sep 11, 2026
acc34e1
Match interactive clean phase output
cknitt Sep 11, 2026
919ed99
Fix retained rewatch graph and watcher state
cknitt Sep 11, 2026
68cfc07
Enable formatting for OCaml rewatch
cknitt Sep 11, 2026
0d18268
Reduce retained rewatch preparation work
cknitt Sep 11, 2026
cc3ee1e
Document latest rewatch review work
cknitt Sep 11, 2026
7e0dca1
Watch transitive local dependencies
cknitt Sep 11, 2026
0f776c6
Update rewatch review checkpoint
cknitt Sep 11, 2026
721f968
Record latest rewatch verification
cknitt Sep 11, 2026
d6c8a13
Record full rewatch repository gate
cknitt Sep 11, 2026
c50ea78
Refresh rewatch packaging checkpoint
cknitt Sep 11, 2026
436d78b
Record stable rewatch performance comparison
cknitt Sep 11, 2026
9cc63c1
Investigate rewatch performance ratio variance
cknitt Sep 11, 2026
0220457
Record stable historical rewatch comparison
cknitt Sep 11, 2026
abdfcbb
Stabilize interactive clean output check
cknitt Sep 11, 2026
6676f3f
Preserve pending work across dependency cycles
cknitt Sep 11, 2026
de2206d
Fix rewatch resolution and stale output tracking
cknitt Sep 11, 2026
d8c407d
Share rewatch traversal and lifecycle policies
cknitt Sep 11, 2026
4014c52
Stabilize cross-platform rewatch output checks
cknitt Sep 11, 2026
924cb1d
Cover rewatch namespace restart and feature watches
cknitt Sep 11, 2026
2dd6731
Document latest rewatch review resolution
cknitt Sep 11, 2026
7269a45
Refresh native Windows rewatch handoff
cknitt Sep 11, 2026
af9a74d
Record rewatch subprocess thread profile
cknitt Sep 11, 2026
db4e806
Narrow remaining rewatch performance hypothesis
cknitt Sep 11, 2026
a723226
Run rewatch compiler tasks on persistent domains
cknitt Sep 11, 2026
92eebe0
Record rewatch worker performance gate
cknitt Sep 11, 2026
a60f42e
Refresh Windows handoff for domain scheduler
cknitt Sep 11, 2026
183f8db
Record repository gate after scheduler alignment
cknitt Sep 11, 2026
74b029d
Stabilize rewatch parity checks across platforms
cknitt Sep 11, 2026
65ad1a8
Make rewatch interruption domain-safe
cknitt Sep 11, 2026
c2341a2
Poll rewatch termination from scheduler owners
cknitt Sep 11, 2026
0652961
Record cooperative interruption repository gate
cknitt Sep 11, 2026
67d6832
Fix rewatch retained freshness and artifact identity
cknitt Sep 11, 2026
c1d2f07
Reuse CMI publication comparisons
cknitt Sep 11, 2026
4d2ee5c
Stabilize cross-platform watcher parity tests
cknitt Sep 11, 2026
c1cf78c
Cover external rewatch diagnostics
cknitt Sep 11, 2026
d07c126
Cache the OCaml environment for the port PR
cknitt Sep 11, 2026
fa8a29d
Fix relative rewatch diagnostic paths
cknitt Sep 11, 2026
28a71b9
Fix rewatch artifact and watcher edge cases
cknitt Sep 11, 2026
92ad922
Record the post-review rewatch quality gate
cknitt Sep 11, 2026
29793ea
Stabilize configuration watcher restoration
cknitt Sep 11, 2026
bc78799
Fix rewatch warning and platform recovery
cknitt Sep 11, 2026
29d467d
Simplify rewatch build state and naming
cknitt Sep 11, 2026
1ef47e5
Clarify rewatch lifecycle state
cknitt Sep 11, 2026
c9afec3
Separate rewatch package build phases
cknitt Sep 11, 2026
488ec8a
Narrow rewatch configuration interface duplication
cknitt Sep 11, 2026
9383336
Split rewatch unit tests by subsystem
cknitt Sep 11, 2026
de9f88d
Split rewatch configuration tests by concern
cknitt Sep 11, 2026
5774264
Record rewatch cleanup review checkpoint
cknitt Sep 11, 2026
aebe569
Remove dead rewatch interfaces and parameters
cknitt Sep 12, 2026
b943f16
Consolidate rewatch state and traversal ownership
cknitt Sep 12, 2026
6d0efa0
Tighten rewatch lifecycle ownership
cknitt Sep 12, 2026
d6d3063
Consolidate rewatch publication and filesystem policy
cknitt Sep 12, 2026
d2d09c5
Split retained rewatch state from build attempts
cknitt Sep 12, 2026
da695be
Make traversal and process probe states explicit
cknitt Sep 12, 2026
474b293
Encapsulate rewatch child process ownership
cknitt Sep 12, 2026
a8cc968
Distinguish missing rewatch paths from IO failures
cknitt Sep 12, 2026
51c8377
Name rewatch artifact and task records
cknitt Sep 12, 2026
10dafce
Own pending rewatch attempt work
cknitt Sep 12, 2026
44daf11
Require prepared state in rewatch build phases
cknitt Sep 12, 2026
fa4dddc
Handle missing watched source directories
cknitt Sep 12, 2026
09d5731
Document rewatch release gates and handoff
cknitt Sep 12, 2026
a617954
Remove temporary rewatch OPAM cache override
cknitt Sep 12, 2026
bcf7f7a
Close rewatch setup failure paths
cknitt Sep 12, 2026
c8f9e79
Consolidate rewatch graph and config policies
cknitt Sep 12, 2026
db669b1
Preserve rewatch work across partial failures
cknitt Sep 12, 2026
abdcd70
Clarify rewatch graph and attempt ownership
cknitt Sep 12, 2026
17cd820
Preserve rewatch recovery and scheduler invariants
cknitt Sep 12, 2026
3e6d597
Clarify rewatch package and graph ownership
cknitt Sep 12, 2026
c2fe7ce
Split rewatch build domain state by owner
cknitt Sep 12, 2026
848c163
Separate rewatch scope and snapshot ownership
cknitt Sep 12, 2026
dbfb8ed
Narrow rewatch APIs and package visibility
cknitt Sep 12, 2026
d154a88
Model rewatch compiler source kinds explicitly
cknitt Sep 12, 2026
f8e34c4
Move rewatch command logic to its owners
cknitt Sep 12, 2026
201bc3c
Retain rewatch cycle diagnostics
cknitt Sep 12, 2026
038cfdd
Clarify rewatch output and process tests
cknitt Sep 12, 2026
105fcdb
Suppress external package compatibility diagnostics
cknitt Sep 12, 2026
37d02d1
Document rewatch quality and performance gates
cknitt Sep 12, 2026
4f532b2
Preserve rewatch invalidation across failures
cknitt Sep 12, 2026
87068df
Preserve rewatch cleanup and namespace recovery
cknitt Sep 12, 2026
186d918
Harden rewatch cleanup and package identity
cknitt Sep 12, 2026
e133b60
Complete rewatch watch recovery hardening
cknitt Sep 12, 2026
ee58394
Fall back when symlink watches cannot refresh
cknitt Sep 12, 2026
acb5e1b
Refresh rewatch artifacts after source cleanup
cknitt Sep 12, 2026
edeb541
Restore symlink target watch recovery
cknitt Sep 12, 2026
c9d9516
Defer removed dependency parse invalidation
cknitt Sep 12, 2026
975617c
Document rewatch lifecycle invariants
cknitt Sep 12, 2026
ef42752
Consolidate rewatch documentation
cknitt Sep 12, 2026
ea7c0c3
Stabilize rewatch deletion recovery test
cknitt Sep 12, 2026
94e542c
Clarify deferred Windows rollout
cknitt Sep 12, 2026
99007f2
Stabilize rewatch publication recovery tests
cknitt Sep 12, 2026
9ef90fc
Diagnose rewatch recovery test failures
cknitt Sep 12, 2026
7e6b4a2
Trace focused rewatch CI failures
cknitt Sep 12, 2026
821d4a5
Stabilize rewatch publication fault tests
cknitt Sep 12, 2026
5acdf85
Stabilize rewatch watcher integration tests
cknitt Sep 12, 2026
12cf607
Support OCaml 5.0 option APIs
cknitt Sep 12, 2026
9ce4c70
Fix OCaml rewatch on Windows
cknitt Sep 12, 2026
d322e4c
Ship OCaml rewatch on Windows
cknitt Sep 12, 2026
caba7a8
Validate OCaml rewatch on Windows
cknitt Sep 12, 2026
1c4ee00
Match Windows interactive output
cknitt Sep 12, 2026
0923182
Make Windows integration coverage native
cknitt Sep 12, 2026
2a22642
Stabilize Windows canonical scheduling
cknitt Sep 12, 2026
e5865c2
Keep independent Rust compiler work running
cknitt Sep 12, 2026
2505873
Complete Windows rewatch release metadata
cknitt Sep 12, 2026
c07242a
Address Windows adversarial review
cknitt Sep 12, 2026
cedd0ac
Fix Windows batch execution and cancellation
cknitt Sep 12, 2026
70b0796
Watch for missing nested source roots
cknitt Sep 12, 2026
3806fd3
Normalize recovering watch paths
cknitt Sep 13, 2026
41d0cc4
Preserve filesystem roots in watch paths
cknitt Sep 13, 2026
1cdefe3
Fix build lock owner test process
cknitt Sep 13, 2026
a32da27
Finalize OCaml rewatch release documentation
cknitt Sep 13, 2026
f080d25
Fix command fixture paths on Bash 3
cknitt Sep 13, 2026
9848649
Use real watcher owners in lock ordering test
cknitt Sep 13, 2026
9bdb025
Recover watched symlink targets after directory renames
cknitt Sep 13, 2026
65313ad
Stabilize platform-specific rewatch checks
cknitt Sep 13, 2026
30eb9a6
Mark Windows dependency test links as directories
cknitt Sep 13, 2026
0029ef4
Reject conflicting dependency package identities
cknitt Sep 13, 2026
9d5dcae
Remove obsolete rewatch implementation history
cknitt Sep 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 12 additions & 2 deletions .github/actions/setup-ocaml/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ runs:
run: |
dependency_flags_key="${DEPENDENCY_FLAGS//--/}"
dependency_flags_key="${dependency_flags_key// /_}"
key="$CACHE_PREFIX-$OS-3.8.0-$COMPILER-$dependency_flags_key-${{ hashFiles('*.opam') }}"
dependency_hash="${{ hashFiles('*.opam', '.github/opam-repository/repo', '.github/opam-repository/packages/**') }}"
key="$CACHE_PREFIX-$OS-3.8.0-$COMPILER-$dependency_flags_key-$dependency_hash"
echo "value=${key//,/-}" >> "$GITHUB_OUTPUT"
echo "setup-version=3.8.0" >> "$GITHUB_OUTPUT"

Expand Down Expand Up @@ -125,12 +126,21 @@ runs:
env:
DEPENDENCY_FLAGS: ${{ inputs.dependency-flags }}
run: |
opam repository add rescript-overrides "$GITHUB_WORKSPACE/.github/opam-repository"
read -ra dependency_flags <<< "$DEPENDENCY_FLAGS"
if [[ "$RUNNER_OS" == "Windows" ]]; then
export AR=x86_64-w64-mingw32-ar
export RANLIB=x86_64-w64-mingw32-ranlib
export STRIP=x86_64-w64-mingw32-strip
export NM=x86_64-w64-mingw32-nm
export DLLTOOL=x86_64-w64-mingw32-dlltool
export OBJDUMP=x86_64-w64-mingw32-objdump
fi
opam install . "${dependency_flags[@]}"

- name: Cache OPAM environment
# Caches created by pull_request runs are scoped to that PR's merge ref
# and cannot seed other PRs or branches. Only pushes create shared caches.
# and cannot seed other PRs or branches, so only push runs save them.
if: steps.cache.outputs.cache-hit != 'true' && github.event_name == 'push'
uses: actions/cache/save@v6
with:
Expand Down
14 changes: 14 additions & 0 deletions .github/opam-repository/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# ReScript opam overrides

This repository contains narrowly scoped dependency fixes needed by CI before
they are available from the main opam repository.

The Luv 0.5.14 override preserves the ARM64 musl compiler's
`-mno-outline-atomics` requirement while building vendored libuv. Without it,
the static executable fails to link because libuv refers to glibc's internal
`__getauxval` symbol. The patch should be contributed upstream and this
override removed once a fixed Luv release is available.

Luv 0.5.14 also vendors libuv 1.48.0. Evaluating and contributing an update to
a current libuv 1.x release is a separate upstream follow-up; changing the
vendored library is intentionally outside the OCaml rewatch port.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
--- a/src/c/dune
+++ b/src/c/dune
@@ -82,8 +82,14 @@
(action (progn
(bash "cp -r vendor/configure/* vendor/libuv/")
(chdir vendor/libuv (progn
(bash
- "sh configure --host `ocamlc -config | awk '/^host:/ {print $NF}'` \
- 'CC=%{cc}' CFLAGS=-DNDEBUG --silent --enable-silent-rules")
+ "architecture=`ocamlc -config-var architecture`
+ c_compiler=`ocamlc -config-var c_compiler`
+ extra_cflags=
+ case \"$architecture:$c_compiler\" in
+ arm64:*musl*) extra_cflags=-mno-outline-atomics ;;
+ esac
+ sh configure --host `ocamlc -config | awk '/^host:/ {print $NF}'` \
+ 'CC=%{cc}' CFLAGS=\"-DNDEBUG $extra_cflags\" --silent --enable-silent-rules")
(ignore-outputs (bash
"$([ '%{os_type}' = Unix ] && echo %{make} || echo make) V=0 -j 4 \
-o aclocal.m4 -o Makefile.in -o configure \
42 changes: 42 additions & 0 deletions .github/opam-repository/packages/luv/luv.0.5.14/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
opam-version: "2.0"
name: "luv"
version: "0.5.14"
synopsis: "Binding to libuv: cross-platform asynchronous I/O"
description: """\
Luv is a binding to libuv, the cross-platform C library that does
asynchronous I/O in Node.js and runs its main loop.

Besides asynchronous I/O, libuv also supports multiprocessing and
multithreading. Multiple event loops can be run in different threads. libuv also
exposes a lot of other functionality, amounting to a full OS API, and an
alternative to the standard module Unix."""
maintainer: "Anton Bachin <antonbachin@yahoo.com>"
authors: "Anton Bachin <antonbachin@yahoo.com>"
license: "MIT"
homepage: "https://github.com/aantron/luv"
doc: "https://aantron.github.io/luv"
bug-reports: "https://github.com/aantron/luv/issues"
depends: [
"base-unix" {build}
"ctypes" {>= "0.14.0"}
"dune" {>= "2.7.0"}
"ocaml" {>= "4.03.0"}
"alcotest" {with-test & >= "0.8.1"}
"base-unix" {with-test}
"odoc" {with-doc & = "2.4.0"}
]
build: ["dune" "build" "-p" name "-j" jobs]
patches: ["arm64-musl-outline-atomics.patch"]
extra-files: [
[
"arm64-musl-outline-atomics.patch"
"sha256=c15c4c4d34c9b545197c5160e19c69a128cc186b65a54e0e9a779c2543528a4f"
]
]
dev-repo: "git+https://github.com/aantron/luv.git"
url {
src:
"https://github.com/aantron/luv/releases/download/0.5.14/luv-0.5.14.tar.gz"
checksum:
"sha256=8e01b4a50c8876cdd98d8e245c0687c4dc4d883aed161ad9c5ace1fb1fdaae99"
}
1 change: 1 addition & 0 deletions .github/opam-repository/repo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
opam-version: "2.0"
35 changes: 32 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,33 @@ jobs:
run: echo "C:\Program Files\Git\bin" >> $GITHUB_PATH
shell: bash

- name: Run rewatch tests
run: ./rewatch/tests/suite.sh rewatch/target/release/rescript
- name: Run OCaml rewatch unit and focused tests
run: |
bash rewatch-ocaml/tests/check_rust_test_coverage.sh --require-complete
bash rewatch-ocaml/tests/check_canonical_test_coverage.sh
bash rewatch-ocaml/tests/check_config_acceptance.sh \
packages/@rescript/${{ matrix.node-target }}/bin/rescript-rust.exe \
packages/@rescript/${{ matrix.node-target }}/bin/rescript.exe
bash rewatch-ocaml/tests/check_command_validation.sh \
packages/@rescript/${{ matrix.node-target }}/bin/rescript-rust.exe \
packages/@rescript/${{ matrix.node-target }}/bin/rescript.exe
bash rewatch-ocaml/tests/check_interactive_output.sh \
packages/@rescript/${{ matrix.node-target }}/bin/rescript-rust.exe \
packages/@rescript/${{ matrix.node-target }}/bin/rescript.exe
bash rewatch-ocaml/tests/check_verbose_output.sh \
packages/@rescript/${{ matrix.node-target }}/bin/rescript-rust.exe \
packages/@rescript/${{ matrix.node-target }}/bin/rescript.exe
opam exec -- dune runtest tests/rewatch_ounit_tests
sh rewatch-ocaml/tests/run.sh packages/@rescript/${{ matrix.node-target }}/bin/rescript.exe
shell: bash

- name: Run OCaml rewatch canonical tests
run: ./rewatch/tests/suite.sh packages/@rescript/${{ matrix.node-target }}/bin/rescript.exe
shell: bash

- name: Run Rust rewatch reference tests on Windows
if: runner.os == 'Windows'
run: ./rewatch/tests/suite.sh packages/@rescript/${{ matrix.node-target }}/bin/rescript-rust.exe
shell: bash

- name: Run syntax benchmarks
Expand Down Expand Up @@ -623,6 +648,10 @@ jobs:
shell: bash
working-directory: rewatch/testrepo

- name: Run rewatch integration tests
- name: Run installed default OCaml rewatch integration tests
run: ./rewatch/tests/suite.sh rewatch/testrepo/node_modules/.bin/rescript
shell: bash

- name: Run installed Rust rewatch reference integration tests
run: ./rewatch/tests/suite.sh rewatch/testrepo/node_modules/.bin/rescript-rust
shell: bash
Loading
Loading