This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: El CI — dev
|
name: El CI -dev
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -36,7 +36,7 @@ jobs:
|
|||||||
dist/elc-gen2 --version || true
|
dist/elc-gen2 --version || true
|
||||||
|
|
||||||
# Gen3: use gen2 to compile the El compiler from its own El source (self-host)
|
# Gen3: use gen2 to compile the El compiler from its own El source (self-host)
|
||||||
- name: Self-host: compile El compiler with gen2 (gen3)
|
- name: Self-host compile El compiler with gen2 (gen3)
|
||||||
run: |
|
run: |
|
||||||
mkdir -p dist/platform
|
mkdir -p dist/platform
|
||||||
dist/elc-gen2 el-compiler/src/compiler.el > dist/elc-gen3.c
|
dist/elc-gen2 el-compiler/src/compiler.el > dist/elc-gen3.c
|
||||||
@@ -50,33 +50,33 @@ jobs:
|
|||||||
echo "gen3 (self-hosted) elc built"
|
echo "gen3 (self-hosted) elc built"
|
||||||
dist/platform/elc --version || true
|
dist/platform/elc --version || true
|
||||||
|
|
||||||
# Run all four test suites — all must pass
|
# Run all four test suites -all must pass
|
||||||
- name: Run tests — text
|
- name: Run tests -text
|
||||||
run: |
|
run: |
|
||||||
ELC="$(pwd)/dist/platform/elc" \
|
ELC="$(pwd)/dist/platform/elc" \
|
||||||
EL_HOME="$(pwd)" \
|
EL_HOME="$(pwd)" \
|
||||||
bash tests/text/run.sh
|
bash tests/text/run.sh
|
||||||
|
|
||||||
- name: Run tests — calendar
|
- name: Run tests -calendar
|
||||||
run: |
|
run: |
|
||||||
ELC="$(pwd)/dist/platform/elc" \
|
ELC="$(pwd)/dist/platform/elc" \
|
||||||
EL_HOME="$(pwd)" \
|
EL_HOME="$(pwd)" \
|
||||||
bash tests/calendar/run.sh
|
bash tests/calendar/run.sh
|
||||||
|
|
||||||
- name: Run tests — time
|
- name: Run tests -time
|
||||||
run: |
|
run: |
|
||||||
ELC="$(pwd)/dist/platform/elc" \
|
ELC="$(pwd)/dist/platform/elc" \
|
||||||
EL_HOME="$(pwd)" \
|
EL_HOME="$(pwd)" \
|
||||||
bash tests/time/run.sh
|
bash tests/time/run.sh
|
||||||
|
|
||||||
- name: Run tests — html_sanitizer
|
- name: Run tests -html_sanitizer
|
||||||
run: |
|
run: |
|
||||||
ELC="$(pwd)/dist/platform/elc" \
|
ELC="$(pwd)/dist/platform/elc" \
|
||||||
EL_HOME="$(pwd)" \
|
EL_HOME="$(pwd)" \
|
||||||
bash tests/html_sanitizer/run.sh
|
bash tests/html_sanitizer/run.sh
|
||||||
|
|
||||||
# Native El test suites (elc --test, compile-link-run)
|
# Native El test suites (elc --test, compile-link-run)
|
||||||
- name: Run tests — native (text)
|
- name: Run tests -native (text)
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
ELC="$(pwd)/dist/platform/elc"
|
ELC="$(pwd)/dist/platform/elc"
|
||||||
|
|||||||
Reference in New Issue
Block a user