diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 1828c119..9b4f855a 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -6,6 +6,12 @@ on: pull_request: branches: [ main, development ] workflow_dispatch: + inputs: + platforms: + description: 'Platforms to build (comma-separated)' + default: 'linux/amd64,linux/arm64,linux/arm/v7' + required: false + type: string jobs: build: @@ -36,7 +42,7 @@ jobs: with: context: . push: true - platforms: linux/amd64,linux/arm64,linux/arm/v7 + platforms: ${{ inputs.platforms || 'linux/amd64,linux/arm64,linux/arm/v7' }} tags: | ghcr.io/autonomy-logic/openplc-runtime:latest ghcr.io/autonomy-logic/openplc-runtime:${{ github.sha }} diff --git a/install.sh b/install.sh index c969f900..4b5b633c 100755 --- a/install.sh +++ b/install.sh @@ -186,7 +186,8 @@ install_deps_apt() { gcc \ make \ cmake \ - pkg-config + pkg-config \ + libffi-dev } # For yum-based distros (RHEL 7, CentOS 7, Amazon Linux) diff --git a/scripts/manage_plugin_venvs.sh b/scripts/manage_plugin_venvs.sh index c1ce59fc..2069e147 100755 --- a/scripts/manage_plugin_venvs.sh +++ b/scripts/manage_plugin_venvs.sh @@ -91,7 +91,7 @@ create_plugin_venv() { # Create virtual environment # On MSYS2/Cygwin, use --system-site-packages to access pre-built packages like - # cryptography that cannot be built from source on this platform + # cryptography that cannot be built from source on Windows log_info "Creating Python virtual environment at: $venv_path" if is_msys2; then log_info "MSYS2 detected: using --system-site-packages for pre-built package access"