Skip to content

Commit 9f95769

Browse files
authored
Merge pull request #2321 from srcejon/mac_ci
Use macos-12 for Mac x86 build
2 parents ca76d5f + d53aa60 commit 9f95769

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/mac.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,12 @@ on:
99

1010
jobs:
1111
build_mac_x64:
12-
runs-on: macos-13
12+
runs-on: macos-12
1313
steps:
1414
- uses: actions/checkout@v4
1515
with:
1616
submodules: true
1717
fetch-depth: 0
18-
- name: Update brew
19-
run: brew update
20-
- name: Install brew packages
21-
run: brew install nasm subversion
2218
- name: Install SDRplay API
2319
run: |
2420
wget https://www.sdrplay.com/software/SDRplayAPI-macos-installer-universal-3.15.0.pkg

cmake/cpack/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if(APPLE AND BUNDLE AND BUILD_GUI)
3636
set(CPACK_BUNDLE_ICON "${CMAKE_SOURCE_DIR}/cmake/cpack/sdrangel_icon.icns")
3737
set(CPACK_BUNDLE_PLIST "${CMAKE_BINARY_DIR}/Info.plist")
3838
set(CPACK_PACKAGE_ICON "${CMAKE_SOURCE_DIR}/cmake/cpack/sdrangel_icon.icns")
39-
set(CPACK_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${CPACK_PACKAGE_VERSION}_${CPACK_MACOS_PACKAGE_ARCHITECTURE}_${CMAKE_SYSTEM_PROCESSOR}" CACHE INTERNAL "")
39+
set(CPACK_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${CPACK_PACKAGE_VERSION}_mac-${CPACK_MACOS_PACKAGE_ARCHITECTURE}_${CMAKE_SYSTEM_PROCESSOR}" CACHE INTERNAL "")
4040
set(CPACK_PRE_BUILD_SCRIPTS "${PROJECT_BINARY_DIR}/deploy_mac.cmake")
4141

4242
# copy SoapySDR Modules
@@ -175,7 +175,7 @@ elseif(WIN32 OR MINGW)
175175
COMMAND ${CMAKE_COMMAND} -E copy_if_different "${fftw3f_dll}" "${SDRANGEL_BINARY_BIN_DIR}/"
176176
)
177177
endforeach(fftw3f_dll)
178-
178+
179179
file(GLOB LIBUSB_DLLS "${LIBUSB_DLL_DIR}/*${CMAKE_SHARED_LIBRARY_SUFFIX}")
180180
foreach(libusb_dll ${LIBUSB_DLLS})
181181
get_filename_component(libusb_dll_name "${libusb_dll}" NAME)

0 commit comments

Comments
 (0)