ci: use pre-installed El SDK from ci-base image

This commit is contained in:
2026-05-05 12:48:54 -05:00
parent 2854b89e35
commit 3509dda67c
3 changed files with 6 additions and 72 deletions
+2 -29
View File
@@ -62,26 +62,9 @@ jobs:
echo "=> Full build required"
fi
# foundation/el contains the elc compiler that build-stage.sh shells out
# to. We clone el directly with git rather than a second
# actions/checkout call — act_runner v0.6 in host mode hits a
# `permission denied` error on .git/objects/pack/*.idx when running
# two checkout steps in the same job. EL_HOME is pinned outside the
# workspace so the path build-stage.sh expects (../../foundation/el)
# resolves correctly.
- name: Clone el (foundation/el — provides the elc compiler)
- name: Set up El SDK
if: steps.changetype.outputs.asset_only != 'true'
env:
CHECKOUT_TOKEN: ${{ secrets.CHECKOUT_TOKEN }}
run: |
set -euo pipefail
DEST="${{ github.workspace }}/../foundation-el"
rm -rf "$DEST"
git clone --depth 1 \
"https://will:${CHECKOUT_TOKEN}@git.neuralplatform.ai/neuron-technologies/el.git" \
"$DEST"
ls -la "$DEST" | head -5
echo "EL_HOME=$DEST" >> "$GITHUB_ENV"
run: echo "EL_HOME=/opt/el" >> "$GITHUB_ENV"
- name: Authenticate to GCP
id: auth
@@ -104,16 +87,6 @@ jobs:
- name: Configure docker auth for Artifact Registry
run: gcloud auth configure-docker us-central1-docker.pkg.dev --quiet
- name: Get elc (pre-built linux/amd64 from El SDK release)
if: steps.changetype.outputs.asset_only != 'true'
run: |
set -euo pipefail
curl -fL -o "$EL_HOME/dist/platform/elc" \
https://git.neuralplatform.ai/neuron-technologies/el/releases/download/v1.2.1/elc-linux-amd64
chmod +x "$EL_HOME/dist/platform/elc"
file "$EL_HOME/dist/platform/elc"
ls -la "$EL_HOME/dist/platform/elc"
- name: Compute image tag
id: tag
run: |