mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-07-15 07:15:22 -04:00
commit
d7863b25c6
42
.github/workflows/mac.yml
vendored
42
.github/workflows/mac.yml
vendored
@ -9,12 +9,16 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_mac_x64:
|
build_mac_x64:
|
||||||
runs-on: macos-12
|
runs-on: macos-13
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- name: Update brew
|
||||||
|
run: brew update
|
||||||
|
- name: Install brew packages
|
||||||
|
run: brew install nasm subversion
|
||||||
- name: Install SDRplay API
|
- name: Install SDRplay API
|
||||||
run: |
|
run: |
|
||||||
wget https://www.sdrplay.com/software/SDRplayAPI-macos-installer-universal-3.15.0.pkg
|
wget https://www.sdrplay.com/software/SDRplayAPI-macos-installer-universal-3.15.0.pkg
|
||||||
@ -40,7 +44,23 @@ jobs:
|
|||||||
- name: Build SDRangel on Mac
|
- name: Build SDRangel on Mac
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
make -j4 package
|
make -j4
|
||||||
|
- name: Create dmg
|
||||||
|
run: |
|
||||||
|
cd build
|
||||||
|
RETRIES=5
|
||||||
|
COUNT=1
|
||||||
|
set +e
|
||||||
|
while [ $COUNT -lt $RETRIES ]; do
|
||||||
|
make package
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
RETRIES=0
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
let COUNT=$COUNT+1
|
||||||
|
done
|
||||||
|
shell: bash
|
||||||
|
continue-on-error: true
|
||||||
- name: Get version
|
- name: Get version
|
||||||
id: get_version
|
id: get_version
|
||||||
run: |
|
run: |
|
||||||
@ -99,7 +119,23 @@ jobs:
|
|||||||
- name: Build SDRangel on Mac
|
- name: Build SDRangel on Mac
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
make -j3 package
|
make -j3
|
||||||
|
- name: Create dmg
|
||||||
|
run: |
|
||||||
|
cd build
|
||||||
|
RETRIES=5
|
||||||
|
COUNT=1
|
||||||
|
set +e
|
||||||
|
while [ $COUNT -lt $RETRIES ]; do
|
||||||
|
make package
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
RETRIES=0
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
let COUNT=$COUNT+1
|
||||||
|
done
|
||||||
|
shell: bash
|
||||||
|
continue-on-error: true
|
||||||
- name: Get version
|
- name: Get version
|
||||||
id: get_version
|
id: get_version
|
||||||
run: |
|
run: |
|
||||||
|
1
external/CMakeLists.txt
vendored
1
external/CMakeLists.txt
vendored
@ -420,6 +420,7 @@ if (NOT FFMPEG_FOUND AND NOT USE_PRECOMPILED_LIBS)
|
|||||||
if (NOT X265_FOUND OR X265_EXTERNAL)
|
if (NOT X265_FOUND OR X265_EXTERNAL)
|
||||||
ExternalProject_Add(x265
|
ExternalProject_Add(x265
|
||||||
GIT_REPOSITORY https://bitbucket.org/multicoreware/x265_git.git
|
GIT_REPOSITORY https://bitbucket.org/multicoreware/x265_git.git
|
||||||
|
GIT_TAG 4.1
|
||||||
PREFIX "${EXTERNAL_BUILD_LIBRARIES}/x265"
|
PREFIX "${EXTERNAL_BUILD_LIBRARIES}/x265"
|
||||||
SOURCE_SUBDIR "source"
|
SOURCE_SUBDIR "source"
|
||||||
CMAKE_ARGS ${COMMON_CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
|
CMAKE_ARGS ${COMMON_CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user