refactor: remove Python sidecar setup from CI workflows

- Deleted the setup steps for creating a Python sidecar binary in both build.yml and package-and-publish.yml workflows.
- Removed the associated script for symlinking the system Python to the sidecar path, simplifying the CI configuration.
- Updated package installation steps to exclude Python dependencies, streamlining the build process.
This commit is contained in:
Steven Enamakel
2026-02-04 11:00:54 +05:30
parent 1977e309f9
commit 8a936c8fe1
4 changed files with 2 additions and 116 deletions
+1 -9
View File
@@ -36,15 +36,7 @@ jobs:
- name: Install Tauri dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf python3
- name: Setup Python sidecar binary
run: |
TARGET=$(rustc --print host-tuple)
PYTHON_PATH=$(which python3)
SIDECAR_PATH="src-tauri/runtime-skill-python-${TARGET}"
ln -sf "${PYTHON_PATH}" "${SIDECAR_PATH}"
echo "Created symlink: ${SIDECAR_PATH} -> ${PYTHON_PATH}"
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: Cache Cargo registry
uses: actions/cache@v4
+1 -20
View File
@@ -199,7 +199,7 @@ jobs:
if: matrix.settings.platform == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf python3
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: Install OpenMP (macOS only)
if: matrix.settings.platform == 'macos-latest'
@@ -207,25 +207,6 @@ jobs:
brew install libomp
echo "OpenMP installed for llama-cpp-sys build"
- name: Setup Python sidecar binary (Linux)
if: matrix.settings.platform == 'ubuntu-22.04'
run: |
TARGET=$(rustc --print host-tuple)
PYTHON_PATH=$(which python3)
SIDECAR_PATH="src-tauri/runtime-skill-python-${TARGET}"
ln -sf "${PYTHON_PATH}" "${SIDECAR_PATH}"
echo "Created symlink: ${SIDECAR_PATH} -> ${PYTHON_PATH}"
- name: Setup Python sidecar binary (macOS)
if: matrix.settings.platform == 'macos-latest'
run: |
# Extract target from args (e.g., "--target aarch64-apple-darwin" -> "aarch64-apple-darwin")
TARGET=$(echo "${{ matrix.settings.args }}" | grep -oE '(aarch64|x86_64)-apple-darwin' || rustc --print host-tuple)
PYTHON_PATH=$(which python3 || which python)
SIDECAR_PATH="src-tauri/runtime-skill-python-${TARGET}"
ln -sf "${PYTHON_PATH}" "${SIDECAR_PATH}"
echo "Created symlink: ${SIDECAR_PATH} -> ${PYTHON_PATH}"
- name: Cache Cargo registry
uses: actions/cache@v4
with: