Skip to content

Build Chromium Blink for iOS (Optimized) #1

Build Chromium Blink for iOS (Optimized)

Build Chromium Blink for iOS (Optimized) #1

Workflow file for this run

name: Build iOS IPA
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install depot_tools
run: |
cd $HOME
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
echo "$HOME/depot_tools" >> $GITHUB_PATH
- name: Fetch Chromium Source
run: |
cd $HOME
mkdir -p ~/chromium && cd ~/chromium
fetch --no-history ios
cd src
gclient sync
- name: Generate Build Files
run: |
cd ~/chromium/src && mkdir -p out/Release-iphoneos
gn gen out/Release-iphoneos --args='is_debug=false target_os="ios" ios_enable_code_signing=false target_cpu="arm64" use_blink=true'
- name: Build Chromium for iOS
run: |
cd ~/chromium/src
autoninja -C out/Release-iphoneos chrome
- name: Create .ipa File
run: |
cd ~/chromium/src/out/Release-iphoneos
mkdir -p Payload
cp -r chromium.app Payload/
zip -r chromium.ipa Payload
- name: Upload to temp.sh
run: |
curl -F "file=@chromium.ipa" https://temp.sh/upload