diff --git a/.ci/scripts/setup-samsung-linux-deps.sh b/.ci/scripts/setup-samsung-linux-deps.sh index ed704b2bfbd..9107c5d01c3 100644 --- a/.ci/scripts/setup-samsung-linux-deps.sh +++ b/.ci/scripts/setup-samsung-linux-deps.sh @@ -11,7 +11,7 @@ set -ex download_ai_lite_core() { API_BASE="https://soc-developer.semiconductor.samsung.com/api/v1/resource/ai-litecore/download" - API_KEY="kn10SoSY3hkC-9Qny5TqD2mnqVrlupv3krnjLeBt5cY" + API_KEY=$SAMSUNG_AI_LITECORE_KEY VERSION="0.5" OS_NAME="Ubuntu 22.04" diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index d8c551e8982..f372be0e46f 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -900,12 +900,14 @@ jobs: permissions: id-token: write contents: read + secrets: inherit with: runner: linux.2xlarge docker-image: ci-image:executorch-ubuntu-22.04-clang12-android submodules: 'recursive' ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} timeout: 90 + secrets-env: SAMSUNG_AI_LITECORE_KEY script: | set -ex @@ -917,6 +919,7 @@ jobs: PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool "cmake" # Setup Samsung SDK (AI Lite Core) and install enn backend + export SAMSUNG_AI_LITECORE_KEY=$SECRET_SAMSUNG_AI_LITECORE_KEY source .ci/scripts/setup-samsung-linux-deps.sh # Test models serially