mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 00:07:24 +00:00
setup env action asks from where install qt
This commit is contained in:
parent
c42d39e027
commit
8d65be51d8
11
.github/actions/0_setup/action.yml
vendored
11
.github/actions/0_setup/action.yml
vendored
@ -2,6 +2,11 @@ name: 'Setup Environment'
|
||||
description: 'Setup Environment'
|
||||
|
||||
inputs:
|
||||
use-jurpel-qt-action:
|
||||
description: 'Use jurpel/qt-action'
|
||||
required: false
|
||||
type: boolean
|
||||
default: true
|
||||
qt-version:
|
||||
description: 'Qt Version'
|
||||
required: false
|
||||
@ -13,18 +18,18 @@ runs:
|
||||
- name: Setup MSVC
|
||||
uses: ilammy/msvc-dev-cmd@v1
|
||||
- name: Install Qt
|
||||
if: ${{ matrix.os }} != 'macos-14'
|
||||
if: ${{ inputs.use-jurpel-qt-action }}
|
||||
uses: jurplel/install-qt-action@v3
|
||||
with:
|
||||
cache: true
|
||||
version: ${{ inputs.qt-version }}
|
||||
- name: Install dependencies
|
||||
if: ${{ matrix.os }} != 'macos-14'
|
||||
if: ${{ inputs.use-jurpel-qt-action }}
|
||||
shell: bash
|
||||
run: |
|
||||
bash scripts/${{ runner.os }}/0_setup_env.sh --dont_install_qt
|
||||
- name: Install dependencies
|
||||
if: ${{ matrix.os }} == 'macos-14'
|
||||
if: ${{ !inputs.use-jurpel-qt-action }}
|
||||
shell: bash
|
||||
run: |
|
||||
bash scripts/${{ runner.os }}/0_setup_env.sh
|
||||
3
.github/workflows/BuildMeshLab.yml
vendored
3
.github/workflows/BuildMeshLab.yml
vendored
@ -24,6 +24,9 @@ jobs:
|
||||
submodules: recursive
|
||||
- name: Setup Environment
|
||||
uses: ./.github/actions/0_setup
|
||||
with:
|
||||
qt-version: ${{env.QT_VERSION}}
|
||||
use-jurpel-qt-action: ${{ matrix.os }} != 'macos-14'
|
||||
- name: Setup env variables
|
||||
id: envs
|
||||
shell: bash
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user