Files
xash3d-fwgs/scripts/gha/build_apple.sh

17 lines
436 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 --enable-tui 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