mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-16 16:20:50 +02:00
GH Actions: use Unix Makefiles CMake generator on macOS
The XCode generator does not work with CMake's CMAKE_C_COMPILER_LAUNCHER / CMAKE_CXX_COMPILER_LAUNCHER for compiler caching. Signed-off-by: Be <be@mixxx.org>
This commit is contained in:
parent
4f5b132b7f
commit
05573da353
2
.github/workflows/cmake_build.yml
vendored
2
.github/workflows/cmake_build.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
|||||||
- name: macOS_Intel
|
- name: macOS_Intel
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
arch: Intel # as reported by Apple menu > About This Mac
|
arch: Intel # as reported by Apple menu > About This Mac
|
||||||
generator: Xcode
|
generator: Unix Makefiles
|
||||||
|
|
||||||
- name: Windows_32bit
|
- name: Windows_32bit
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
|
@ -25,12 +25,6 @@ if [[ "${AUDACITY_CMAKE_GENERATOR}" == "Visual Studio"* ]]; then
|
|||||||
64bit) cmake_args+=( -A x64 ) ;;
|
64bit) cmake_args+=( -A x64 ) ;;
|
||||||
*) echo >&2 "$0: Unrecognised arch label '${AUDACITY_ARCH_LABEL}'" ; exit 1 ;;
|
*) echo >&2 "$0: Unrecognised arch label '${AUDACITY_ARCH_LABEL}'" ; exit 1 ;;
|
||||||
esac
|
esac
|
||||||
elif [[ "${AUDACITY_CMAKE_GENERATOR}" == Xcode* ]]; then
|
|
||||||
cmake_args+=(
|
|
||||||
# skip unneeded configurations
|
|
||||||
-D CMAKE_CONFIGURATION_TYPES="${AUDACITY_BUILD_TYPE}"
|
|
||||||
-T buildsystem=1
|
|
||||||
)
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n "${APPLE_CODESIGN_IDENTITY}" && "${OSTYPE}" == darwin* ]]; then
|
if [[ -n "${APPLE_CODESIGN_IDENTITY}" && "${OSTYPE}" == darwin* ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user