Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ permissions:
env:
# Objectively and ObjectivelyGPU are source dependencies (resolved via
# ObjectivelyMVC.xcworkspace). Override to pin an MVC release/branch to a
# specific ref of either. SDL3 / SDL3_image / SDL3_ttf versions live in
# fetch-sdl3.sh / fetch-sdl3-extensions.sh, not here.
# specific ref of either. SDL3 is the jdolan/SDL ObjectivelyGPU tag, built by
# the workspace from the SDL3 checkout below; SDL3_image / SDL3_ttf versions
# live in fetch-sdl3-extensions.sh.
OBJECTIVELY_REF: "main"
OBJECTIVELYGPU_REF: "main"
HOMEBREW_PREFIX: /opt/homebrew
Expand Down Expand Up @@ -109,10 +110,6 @@ jobs:
working-directory: Objectively
run: bash ./Frameworks/build-libcurl.sh

- name: Fetch SDL3.xcframework
working-directory: ObjectivelyGPU
run: ./Frameworks/fetch-sdl3.sh

- name: Fetch SDL3_image / SDL3_ttf xcframeworks
working-directory: ObjectivelyMVC
run: ./Frameworks/fetch-sdl3-extensions.sh
Expand Down
3 changes: 3 additions & 0 deletions Documentation/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ Tagged releases are published on the [GitHub releases page](https://github.com/j
* [ObjectivelyGPU](https://github.com/jdolan/ObjectivelyGPU) >= 2.2.0
* [SDL3](https://github.com/libsdl-org/SDL) >= 3.2.0 (CI builds against the `ObjectivelyGPU` tag of [jdolan/SDL](https://github.com/jdolan/SDL), which adds the SDL_gpu query API; see [Installing ObjectivelyGPU](https://jdolan.github.io/ObjectivelyGPU/install.html)), [SDL3_image](https://github.com/libsdl-org/SDL_image), [SDL3_ttf](https://github.com/libsdl-org/SDL_ttf)

The Xcode workspace builds `SDL3.framework` from a sibling checkout of that tag, which MUST be named `SDL3`:
`git clone --branch ObjectivelyGPU https://github.com/jdolan/SDL.git ../SDL3`.

## Building

```sh
Expand Down
9 changes: 4 additions & 5 deletions Frameworks/fetch-sdl3-extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
# fetch-sdl3-extensions.sh — downloads the official SDL3_image and SDL3_ttf Apple
# xcframeworks from libsdl.org on demand and caches them under Frameworks/.
#
# Core SDL3 itself comes from the ObjectivelyGPU sibling
# (../ObjectivelyGPU/Frameworks/SDL3.xcframework); this fetches only the
# extensions ObjectivelyMVC layers on top. Mirrors ObjectivelyMVC.vs15/sdl3.targets
# (Windows) and ObjectivelyGPU/Frameworks/fetch-sdl3.sh: downloaded once, on
# demand, .gitignored. Bump the versions to upgrade; delete the cached
# Core SDL3 itself is built by the workspace from the ../SDL3 sibling checkout;
# this fetches only the extensions ObjectivelyMVC layers on top. Mirrors
# ObjectivelyMVC.vs15/sdl3.targets (Windows): downloaded once, on demand,
# .gitignored. Bump the versions to upgrade; delete the cached
# xcframeworks to force a re-download.
#
set -euo pipefail
Expand Down
Loading
Loading