Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[21535] Add multi-platform external action to install Qt #119

Merged
merged 4 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ Find below the external actions listed:
| [create-pull-request](external/create-pull-request/action.yml) | Create PR | MIT license |
| [get-cmake](external/get-cmake/action.yml) | Installs desired versions of CMake and Ninja | Mit license |
| [install_doxygen](external/install_doxygen/action.yml) | Multi-platform action that installs doxygen | Mit license |
| [install_qt](external/install_qt/action.yml) | Multi-platform action that installs Qt | MIT license |
| [mirror-branch-action](external/mirror-branch-action/action.yml) | Mirror branch within the same repository | Apache-2.0 license |
| [remove_labels](external/remove_labels/action.yml) | Remove labels from an issue or PR | Apache-2.0 license |
| [setup-ccache-action](external/setup-ccache-action/action.yml) | Setup CCache in a workflow | MIT license |
Expand Down
48 changes: 48 additions & 0 deletions external/install_qt/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: 'install_qt'
description: >
https://github.com/jurplel/install-qt-action
There are more possible inputs used in the original action, but these are the most used by eProsima.
Please, refer to the original action for more information.

inputs:
version:
description: "The desired version of Qt to install"
type: string
default: '5.15.2'
target:
description: "The target platform to install Qt on"
type: string
default: 'desktop'
arch:
description: "The architecture to install Qt for"
type: string
default: 'gcc_64'
dir:
description: "The directory to install Qt in"
install-deps:
description: "Whether to install dependencies"
type: boolean
default: true
modules:
description: "The Qt modules to install"
type: string
default: ''
setup-python:
description: "Whether to setup Python"
type: boolean
default: true
irenebm marked this conversation as resolved.
Show resolved Hide resolved
# Other inputs as tools, source, documentation, examples, etc. are not included here, but can be added if needed.
runs:
using: composite
steps:
- name: Install Qt
uses: jurplel/[email protected]
with:
version: ${{ inputs.version }}
target: ${{ inputs.target }}
arch: ${{ inputs.arch }}
dir: ${{ inputs.dir }}
install-deps: ${{ inputs.install-deps }}
modules: ${{ inputs.modules }}
setup-python: ${{ inputs.setup-python }}
# Other inputs as tools, source, documentation, examples, etc. are not included, but can be added if needed.
1 change: 1 addition & 0 deletions versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ The [Forthcoming](#forthcoming) section includes those features added in `main`
The upcoming release will include the following **features**:

- Add `skip_base` option to the `get_related_branch_from_repo` action so base branch is not considered.
- Add external (multi-platform) action to install Qt.

## v0.24.0

Expand Down