ci: add native El test step to dev pipeline
This commit is contained in:
@@ -74,6 +74,17 @@ jobs:
|
|||||||
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)
|
||||||
|
- name: Run tests — native (text)
|
||||||
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
ELC="$(pwd)/dist/platform/elc"
|
||||||
|
RUNTIME="$(pwd)/el-compiler/runtime"
|
||||||
|
"$ELC" --test tests/native/test_text.el > /tmp/el_native_text.c
|
||||||
|
gcc -O2 -I "$RUNTIME" /tmp/el_native_text.c "$RUNTIME/el_runtime.c" \
|
||||||
|
-lcurl -lpthread -o /tmp/el_native_text
|
||||||
|
/tmp/el_native_text
|
||||||
|
|
||||||
# Publish artifact to GCP Artifact Registry (dev)
|
# Publish artifact to GCP Artifact Registry (dev)
|
||||||
- name: Publish elc to Artifact Registry (dev)
|
- name: Publish elc to Artifact Registry (dev)
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user