Skip to content

Commit

Permalink
Try a universal build on Mac Qt6
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Hutchison <[email protected]>
  • Loading branch information
ghutchis committed Nov 12, 2024
1 parent ac79039 commit 1040e50
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build_qt6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
os: macos-latest,
cc: "clang", cxx: "clang++",
build_type: "Release",
cmake_flags: "-G Ninja",
cmake_flags: "-G Ninja -DCMAKE_OSX_ARCHITECTURES=arm64;x86_64",
cpack_flags: "-G DragNDrop",
}
- {
Expand All @@ -65,11 +65,7 @@ jobs:
- name: Install Dependencies (macOS)
if: runner.os == 'macOS'
run: |
if uname -p | grep -q "arm" ; then
export PATH=/opt/homebrew/bin:$PATH
else # not self-hosted runner
brew install ninja eigen glew
fi
brew install ninja eigen glew
- name: Install Dependencies (Windows)
if: runner.os == 'Windows'
run: choco install ninja
Expand Down

0 comments on commit 1040e50

Please sign in to comment.