Use Dopamine now pls #57
This file contains 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 Serotonin | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Update submodules | |
run: git submodule update --init --recursive | |
- name: Switch to Xcode 15 | |
run: sudo xcode-select -s /Applications/Xcode_15.0.app | |
- name: Install theos | |
run: bash -c "$(curl -fsSL https://raw.githubusercontent.com/roothide/theos/master/bin/install-theos)" | |
- name: Download ct_bypass to /usr/local/bin | |
run: | | |
curl -L -o /usr/local/bin/ct_bypass https://cdn.mineek.dev/serotonin/action_deps/ct_bypass | |
chmod +x /usr/local/bin/ct_bypass | |
- name: Install ldid | |
run: | | |
brew unlink ldid | |
brew install ldid-procursus | |
- name: Compile IPA | |
run: | | |
export THEOS=/Users/runner/theos | |
make | |
- name: Upload IPA | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Serotonin.tipa | |
path: Serotonin.tipa |