Xrasher/scripts/gha/build_apple.sh
Alibek Omarov 2dc220b42f gha: add build for macOS ARM and x86
Very barebones, doesn't build universal app, doesn't build dmg
2024-08-12 09:12:13 +03:00

14 lines
375 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
mkdir -p artifacts/
tar -cJvf artifacts/ash3d-fwgs-apple-$ARCH.tar.xz -C bin . # skip the bin directory from resulting tar archive