-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.ci
More file actions
28 lines (22 loc) · 1.01 KB
/
Makefile.ci
File metadata and controls
28 lines (22 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# CI Acceptance targets for BitNet-rs
.PHONY: accept accept-pr accept-nightly help
# Default values
LANE ?= PR
XVAL_NONBLOCKING ?= 0
help:
@echo "CI Acceptance targets:"
@echo " make -f Makefile.ci accept # Run CI acceptance gate (default: PR lane)"
@echo " make -f Makefile.ci accept-pr # Run PR acceptance gate"
@echo " make -f Makefile.ci accept-nightly # Run Nightly acceptance gate"
@echo ""
@echo "Environment variables:"
@echo " LANE=PR|NIGHTLY # Select lane (default: PR)"
@echo " XVAL_NONBLOCKING=0|1 # Make cross-validation non-blocking (default: 0)"
@echo " PR_MODEL=path/to/model # Override model for PR lane"
@echo " NIGHTLY_MODEL=path/to/model # Override model for Nightly lane"
accept:
@LANE=$(LANE) XVAL_NONBLOCKING=$(XVAL_NONBLOCKING) scripts/ci-acceptance-gate-v2.sh
accept-pr:
@LANE=PR XVAL_NONBLOCKING=$(XVAL_NONBLOCKING) scripts/ci-acceptance-gate-v2.sh
accept-nightly:
@LANE=NIGHTLY XVAL_NONBLOCKING=$(XVAL_NONBLOCKING) scripts/ci-acceptance-gate-v2.sh