fix build macos arm

This commit is contained in:
Alessandro Muntoni 2024-02-02 10:18:28 +01:00
parent 5ecb663c5f
commit 2e9ef54de9
2 changed files with 7 additions and 2 deletions

View File

@ -46,7 +46,7 @@ runs:
- name: Cache external libraries sources - name: Cache external libraries sources
id: cache-ext-libs id: cache-ext-libs
if: ${{ inputs.cache-path != '' }} if: ${{ inputs.cache-path != '' }}
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ inputs.cache-path }} path: ${{ inputs.cache-path }}
key: ${{ runner.os }}-${{ inputs.cache-key }} key: ${{ runner.os }}-${{ inputs.cache-key }}

View File

@ -19,7 +19,7 @@ jobs:
os: ['ubuntu-20.04', 'macos-latest', 'macos-14', 'windows-latest'] os: ['ubuntu-20.04', 'macos-latest', 'macos-14', 'windows-latest']
precision: [single_precision, double_precision] precision: [single_precision, double_precision]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
- name: Setup Environment - name: Setup Environment
@ -37,6 +37,11 @@ jobs:
else else
echo "artifact_suffix=_$ARCH" >> $GITHUB_OUTPUT echo "artifact_suffix=_$ARCH" >> $GITHUB_OUTPUT
fi fi
if [ "${{matrix.os}}" == "macos-14" ]; then
echo "build_options=--use_brew_qt" >> $GITHUB_OUTPUT
else
echo "build_options=" >> $GITHUB_OUTPUT
fi
- name: Build - name: Build
uses: ./.github/actions/1_build uses: ./.github/actions/1_build
with: with: