mirror of
https://github.com/Toastconcern/FrameStudio.git
synced 2026-10-29 04:02:56 +01:00
Frame Studio now builds for Windows (x64, x86, ARM64), Linux (x64, x86, ARM64)
and macOS (Apple Silicon, Intel):
- studio/platform.h with Win32 and POSIX implementations (dialogs through
tinyfiledialogs on Linux/macOS), a GLFW window beside the Win32 one, and a
platform-neutral frame pacer
- MoltenVK support in the renderer (portability enumeration) and bundled in
the macOS app
- 32-bit builds: large-address-aware, LZMA packing within a 32-bit address space
- unaligned file reads in the loaders go through loadUnaligned (no UB)
- scripts/build-studio.sh, studio/build_windows.bat [x64|x86|arm64],
cmake/llvm-mingw.cmake, and a GitHub Actions workflow building every target
Frame Home installs without Studio: frame/install-frame-home.{sh,ps1} and
"Install Frame Home.bat" (packaged as FrameHome-installer.zip).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 lines
1.6 KiB
Bash
38 lines
1.6 KiB
Bash
#!/usr/bin/env bash
|
|
|
|
# Extract our command line arguments
|
|
COMPILER=$1
|
|
|
|
# See Github hosted runners:
|
|
# macos-14: https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md
|
|
# xcode 15.0.1, 15.1, 15.2, 15.3, 15.4, 16.1, 16.2
|
|
# macos-13: https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md
|
|
# xcode 14.1, 14.2, 14.3.1, 15.0.1, 15.1, 15.2
|
|
# macos-12: https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md
|
|
# xcode 13.1, 12.2.1, 13.3.1, 13.4.1, 14.1, 14.2
|
|
# maxos-11: https://github.com/actions/runner-images/blob/main/images/macos/macos-11-Readme.md
|
|
# xcode 11.7, 12.4, 12.5.1, 13.0, 13.1, 13.2.1
|
|
# maxos-10.15: https://github.com/actions/runner-images/blob/main/images/macos/macos-10.15-Readme.md
|
|
# xcode 10.3, 11.2.1, 11.3.1, 11.4.1, 11.5, 11.6, 11.7, 12, 12.1, 12.1.1, 12.2, 12.3, 12.4
|
|
|
|
# Convert our compiler string into our XCode path
|
|
# Paths must match Github Action virtual images
|
|
if [[ $COMPILER == xcode10 ]]; then
|
|
XCODE_PATH="/Applications/Xcode_10.3.app"
|
|
elif [[ $COMPILER == xcode11 ]]; then
|
|
XCODE_PATH="/Applications/Xcode_11.7.app"
|
|
elif [[ $COMPILER == xcode12 ]]; then
|
|
XCODE_PATH="/Applications/Xcode_12.5.1.app"
|
|
elif [[ $COMPILER == xcode13 ]]; then
|
|
XCODE_PATH="/Applications/Xcode_13.2.1.app"
|
|
elif [[ $COMPILER == xcode14 ]]; then
|
|
XCODE_PATH="/Applications/Xcode_14.3.1.app"
|
|
elif [[ $COMPILER == xcode15 ]]; then
|
|
XCODE_PATH="/Applications/Xcode_15.4.app"
|
|
elif [[ $COMPILER == xcode16 ]]; then
|
|
XCODE_PATH="/Applications/Xcode_16.2.app"
|
|
fi
|
|
|
|
# Select our XCode version
|
|
sudo xcode-select -s $XCODE_PATH/Contents/Developer;
|