2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-25 11:19:59 +01:00
xash3d-fwgs/scripts/gha/build_apple.sh
Max Parry cc53d59532
gha: adds SDL2 to OSX builds (resolves #1791) (#1855)
* updated build_apple.sh to copy over SDL2 from the Frameworks folder that it was installed in by dep_apple.sh
2024-10-28 12:58:46 +03:00

17 lines
423 B
Bash
Executable File

#!/bin/bash
. scripts/lib.sh
cd $GITHUB_WORKSPACE || die
pushd hlsdk || die
./waf configure build install --destdir=../bin || die
popd
./waf configure --enable-utils --enable-tests --enable-lto build install --destdir=bin || die_configure
cp -vr /Library/Frameworks/SDL2.framework bin
mkdir -p artifacts/
tar -cJvf artifacts/xash3d-fwgs-apple-$ARCH.tar.xz -C bin . # skip the bin directory from resulting tar archive