2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-12-24 17:55:31 +01:00
xash3d-fwgs/scripts/gha/deps_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

10 lines
250 B
Bash
Executable File

#!/bin/bash
cd $GITHUB_WORKSPACE
wget http://libsdl.org/release/SDL2-$SDL_VERSION.dmg -O SDL2.dmg
hdiutil mount SDL2.dmg
sudo cp -vr /Volumes/SDL2/SDL2.framework /Library/Frameworks
git clone https://github.com/FWGS/hlsdk-portable hlsdk --depth=1