Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tamlok committed May 21, 2024
1 parent fad6289 commit 80824d9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
fail-fast: false
matrix:
config:
- name: "Build on x64"
os: macos-13
arch: x64
# - name: "Build on X64"
# os: macos-13
# arch: x64
- name: "Build on Arm64"
os: macos-latest
arch: arm64
arch: universal

runs-on: ${{matrix.config.os}}

Expand All @@ -54,7 +54,7 @@ jobs:
brew install tree libiodbc libpq
- name: Fix SQL
if: ${{matrix.config.arch == 'arm64'}}
if: ${{matrix.config.arch == 'universal'}}
run: |
sudo mkdir -p /usr/local/opt/libiodbc/lib
sudo ln -s /opt/homebrew/opt/libiodbc/lib/libiodbc.2.dylib /usr/local/opt/libiodbc/lib/libiodbc.2.dylib
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
run: |
qmake -v
cmake --version
cmake -DMACDEPLOYQTFIX_EXECUTABLE=${{runner.workspace}}/macdeployqtfix/macdeployqtfix.py ${GITHUB_WORKSPACE}
cmake -DMACDEPLOYQTFIX_EXECUTABLE=${{runner.workspace}}/macdeployqtfix/macdeployqtfix.py -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" ${GITHUB_WORKSPACE}
working-directory: ${{runner.workspace}}/build

- name: Build Project
Expand Down

0 comments on commit 80824d9

Please sign in to comment.