Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 32 additions & 3 deletions .github/workflows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,42 @@ jobs:

- name: Create task venv for Copilot
run: |
python3 -m venv $GITHUB_WORKSPACE/.venv
source $GITHUB_WORKSPACE/.venv/bin/activate
cd "$GITHUB_WORKSPACE"
/opt/venv/bin/python -m venv --system-site-packages .venv
Comment thread
mawad-amd marked this conversation as resolved.
Comment thread
mawad-amd marked this conversation as resolved.
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e . --no-cache-dir
Comment thread
mawad-amd marked this conversation as resolved.

- name: Install IntelliKit Python packages
run: |
source "$GITHUB_WORKSPACE/.venv/bin/activate"
pip install --no-cache-dir "git+https://github.com/AMDResearch/intellikit.git#subdirectory=accordo"
pip install --no-cache-dir "git+https://github.com/AMDResearch/intellikit.git#subdirectory=linex"
pip install --no-cache-dir "git+https://github.com/AMDResearch/intellikit.git#subdirectory=metrix"
pip install --no-cache-dir "git+https://github.com/AMDResearch/intellikit.git#subdirectory=nexus"
pip install --no-cache-dir "git+https://github.com/AMDResearch/intellikit.git#subdirectory=rocm_mcp"
Comment thread
mawad-amd marked this conversation as resolved.
Comment on lines +33 to +40

Copilot AI Mar 23, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Installing multiple subdirectories via separate git+https URLs will typically re-clone/fetch the repo repeatedly, slowing the job and increasing flakiness due to network variability. A more efficient approach is to git clone once (you already do later) and then install the needed subprojects from local paths, or otherwise restructure to avoid repeated network fetches.

Copilot uses AI. Check for mistakes.


- name: Install uv for MCP servers
run: |
source "$GITHUB_WORKSPACE/.venv/bin/activate"
pip install --no-cache-dir uv
Comment thread
mawad-amd marked this conversation as resolved.
Comment thread
mawad-amd marked this conversation as resolved.

- name: Clone IntelliKit for MCP servers
run: |
git clone --depth 1 https://github.com/AMDResearch/intellikit.git "$GITHUB_WORKSPACE/.intellikit"

- name: Install IntelliKit agent skills
run: |
cd "$GITHUB_WORKSPACE"
mkdir -p .github/agents/skills
curl -sSL https://raw.githubusercontent.com/AMDResearch/intellikit/main/install/skills/install.sh | \
bash -s -- --target github --base-url https://raw.githubusercontent.com/AMDResearch/intellikit/main
Comment thread
mawad-amd marked this conversation as resolved.

- name: Make venv default for subsequent steps
run: |
echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
echo "$GITHUB_WORKSPACE/.venv/bin" >> "$GITHUB_PATH"
echo "PYTHONPATH=$GITHUB_WORKSPACE/.venv/lib/python3.13/site-packages:$GITHUB_WORKSPACE${PYTHONPATH:+:$PYTHONPATH}" >> "$GITHUB_ENV"
Comment thread
mawad-amd marked this conversation as resolved.

- name: Verify ROCm and GPU visibility
run: |
Expand Down
Loading