From a9dc38ed8272380e186870c99cc9f64a74806739 Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Mon, 4 May 2026 13:26:09 -0500 Subject: [PATCH] ci: add native El test step to dev pipeline --- .gitea/workflows/ci-dev.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitea/workflows/ci-dev.yaml b/.gitea/workflows/ci-dev.yaml index 3269e0e..b69cca5 100644 --- a/.gitea/workflows/ci-dev.yaml +++ b/.gitea/workflows/ci-dev.yaml @@ -74,6 +74,17 @@ jobs: EL_HOME="$(pwd)" \ 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) - name: Publish elc to Artifact Registry (dev) env: