diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2020-08-15 15:03:44 +0200 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2020-09-01 16:11:59 +0000 |
commit | 7c15b368e2adcb917095cc46d07c7da5e97cc76d (patch) | |
tree | 420e16893168a10504ac5c7eb1765f898cbf491c /.github/actions/download-qt/action.yml | |
parent | b60f3409bbd6317de5f889d49055bee70648931b (diff) |
Initial support for GitHub Actions
This commit adds jobs similar to what we have in Travis. Some tests are
disabled when running on GitHub since they do not pass for various
reasons. Note that those tests are usually skipped on Travis due to
missing dependencies.
Change-Id: Icec96dc22e2939d12568d2de1f1a4537c35977ad
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to '.github/actions/download-qt/action.yml')
-rw-r--r-- | .github/actions/download-qt/action.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/actions/download-qt/action.yml b/.github/actions/download-qt/action.yml new file mode 100644 index 000000000..cf7ade428 --- /dev/null +++ b/.github/actions/download-qt/action.yml @@ -0,0 +1,22 @@ +name: 'Download Qt' +description: 'Downloads Qt' +inputs: + version: + description: 'Qt version' + required: false + default: '5.15.0' + target: + description: 'Qt target (desktop, ios, android)' + required: false + default: 'desktop' + toolchain: + description: 'Qt toolchain' + required: true +runs: + using: "composite" + steps: + - name: Install Qt + run: | + export QT_DIR=$(./scripts/install-qt.sh -d $HOME/Qt --version ${{ inputs.version }} --target ${{ inputs.target }} --toolchain ${{ inputs.toolchain }} qtbase qtdeclarative qttools qtscript qtscxml) + echo ::add-path::$QT_DIR + shell: bash |