disable auto jit because so many people enable it without knowing wha… #64
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Theos | |
run: | | |
# uncomment for swift | |
#sudo apt-get install -y libtinfo6 | |
echo "installing theos" | |
export THEOS=$(mktemp -d theos.XXXXX) | |
echo "THEOS=$THEOS" >> $GITHUB_ENV | |
# set architecture for the download urls below | |
export ARCH=$(uname -m) | |
# depth=1 for SPEED | |
git clone --recursive https://github.com/theos/theos.git $THEOS --depth=1 | |
# uncomment for swift | |
#curl -sL https://github.com/kabiroberai/swift-toolchain-linux/releases/download/v2.3.0/swift-5.8-ubuntu20.04.tar.xz | tar -xJvf - -C $THEOS/toolchain/ | |
echo "downloading llvm toolchain" | |
curl -sL https://github.com/L1ghtmann/llvm-project/releases/latest/download/iOSToolchain-$ARCH.tar.xz | tar -xJvf - -C $THEOS/toolchain/ | |
# yoinked from theos install script | |
if [[ -x $THEOS/toolchain/linux/iphone/bin/clang ]]; then | |
echo "Successfully installed the toolchain!" | |
else | |
echo "Something appears to have gone wrong -- the toolchain is not accessible. Please try again." | |
exit 7 | |
fi | |
echo "installing sdk !!" | |
$THEOS/bin/install-sdk iPhoneOS16.5 | |
- name: Replace Download Link | |
run: | | |
sed -i 's|__DOWNLOAD_LINK__|${{ secrets.GD_DOWNLOAD }}|' src/RootViewController.m | |
sed -i 's|__KEY_PART1__|${{ secrets.KEYONE }}|' src/RootViewController.m | |
sed -i 's|__KEY_PART2__|${{ secrets.KEYTWO }}|' src/RootViewController.m | |
- name: Build | |
run: | | |
git submodule update --init --recursive | |
make package FINALPACKAGE=1 STRIP=0 | |
make clean | |
make package FINALPACKAGE=1 STRIP=0 TROLLSTORE=1 | |
- name: Upload artifact | |
uses: actions/upload-artifact@main | |
with: | |
name: Geode Launcher | |
path: packages/*.* |