Skip to content

Commit

Permalink
Fix macOS CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dantti committed Jul 5, 2024
1 parent 3e0cca9 commit df7bfdb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:

config:
- qt_version: "5.15"
macos_architectures: "x86_64"
- qt_version: "6.6.0"
macos_architectures: "x86_64;arm64"

steps:
- name: Install Qt
Expand All @@ -48,8 +50,11 @@ jobs:
- name: Configure project
run: >
cmake -S . -B ./build -G Ninja
--warn-uninitialized
-Werror=dev
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-DENABLE_MAINTAINER_CFLAGS=${{ matrix.build_type == 'Debug' }}
-DCMAKE_OSX_ARCHITECTURES="${{ matrix.config.macos_architectures }}"
- name: Build project
run: cmake --build ./build
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
"/usr" CACHE PATH "simplemail default install prefix" FORCE)
endif()

set(CMAKE_INSTALL_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib/${CMAKE_LIBRARY_ARCHITECTURE}" CACHE PATH "Output directory for libraries")

option(BUILD_DEMOS "Build the demos" ON)

#
Expand Down

0 comments on commit df7bfdb

Please sign in to comment.