Commit ce546e05 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby 🤘🏻
Browse files

merge: Add gitlab-ci from 'gitlab-ci' branch.

parents 3093139a 98776c3d
Pipeline #89618 passed with stages
in 1 minute and 1 second
image: hylang
stages:
- build
- test
before_script:
- hy -v
make:
stage: build
script:
- make
check:
stage: test
script:
- make check
......@@ -4,6 +4,8 @@ HY = hy
HYC = hyc3
HY2PY = hy2py3
FIBO = 15
# Compile
truelisp.py: truelisp.hy
$(info Compiling (hy2py) $<)
......@@ -14,14 +16,14 @@ truelisp: truelisp.hy
# Tests
fibo: example-fibo.hy
$(info Running $< 42)
@$(HY) example-fibo.hy 42
$(info Running $< $(FIBO))
@$(HY) example-fibo.hy $(FIBO)
test: test.hy
$(info Running $<)
@$(HY) $<
check: test fibo
check: test
# Clean
.PHONY: clean check test fibo truelisp
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment