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 -14
View File
@@ -34,20 +34,8 @@ jobs:
with:
fetch-depth: 2
- name: Set up El SDK from release
env:
CHECKOUT_TOKEN: ${{ secrets.CHECKOUT_TOKEN }}
run: |
set -euo pipefail
EL_HOME="${{ github.workspace }}/../foundation-el"
mkdir -p "$EL_HOME/dist/platform" "$EL_HOME/el-compiler/runtime"
BASE_URL="https://git.neuralplatform.ai/neuron-technologies/el/releases/download/v1.2.1"
curl -fL -H "Authorization: token ${CHECKOUT_TOKEN}" -o "$EL_HOME/dist/platform/elc" "$BASE_URL/elc-linux-amd64"
curl -fL -H "Authorization: token ${CHECKOUT_TOKEN}" -o "$EL_HOME/el-compiler/runtime/el_runtime.c" "$BASE_URL/el_runtime.c"
curl -fL -H "Authorization: token ${CHECKOUT_TOKEN}" -o "$EL_HOME/el-compiler/runtime/el_runtime.h" "$BASE_URL/el_runtime.h"
curl -fL -H "Authorization: token ${CHECKOUT_TOKEN}" -o "$EL_HOME/el-compiler/runtime/el_runtime.js" "$BASE_URL/el_runtime.js"
chmod +x "$EL_HOME/dist/platform/elc"
echo "EL_HOME=$EL_HOME" >> "$GITHUB_ENV"
- name: Set up El SDK
run: echo "EL_HOME=/opt/el" >> "$GITHUB_ENV"
- name: Authenticate to GCP
uses: google-github-actions/auth@v2