Files
oboe/.github/workflows/scripts/mac/install-sfml.sh
Celtic Minstrel b5a1bbf283 Add GitHub Actions configuration file to enable CI
There are several builds defined here, and a few more sketched out that
don't quite work.

Most of the steps call out to external shell or batch files,
to make things easier to keep track of.
2023-01-05 19:52:30 -05:00

10 lines
412 B
Bash
Executable File

#!/bin/sh -ve
# brew install SFML does not install it as frameworks,
# so instead we manually download the release from GitHub
# and copy the files to an appropriate location.
curl -LO https://github.com/SFML/SFML/releases/download/2.5.1/SFML-2.5.1-macOS-clang.tar.gz
tar -xzf SFML-2.5.1-macOS-clang.tar.gz
cp -r SFML-2.5.1-macOS-clang/Frameworks/* SFML-2.5.1-macOS-clang/extlibs/* $(brew --prefix)/Frameworks