Skip to content

Merge pull request #1791 from Benjamin-Loison/raw #869

Merge pull request #1791 from Benjamin-Loison/raw

Merge pull request #1791 from Benjamin-Loison/raw #869

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: use cache
id: cache
uses: actions/cache@v2
with:
path: |
xcfs/.build
Frameworks/ios_system/xcfs/.build
key: ${{ runner.os }}-${{ hashFiles('get_frameworks.sh', 'xcfs/Package.swift') }}
- name: get frameworks
if: steps.cache.outputs.cache-hit != 'true'
run: ./get_frameworks.sh
- name: copy xcconfig
run: cp template_setup.xcconfig developer_setup.xcconfig
- name: BlinkTests
run: xcodebuild -project Blink.xcodeproj -scheme BlinkTests -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPad Air (4th generation)' test | xcpretty
- name: actual build
run: set -o pipefail && xcodebuild archive -project Blink.xcodeproj -scheme Blink -sdk iphoneos -configuration Debug clean build IPHONEOS_DEPLOYMENT_TARGET='15.0' CODE_SIGN_IDENTITY='' CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO ONLY_ACTIVE_ARCH=NO | tee build.log | xcpretty
- name: generate unsigned debug ipa
run: |
cd ~
mkdir Payload
mv ~/Library/Developer/Xcode/Archives/*/*/Products/Applications/Blink.app ~/Payload/
zip -r Blink.ipa Payload
- name: upload ipa
uses: actions/[email protected]
with:
name: 'BlinkShell'
path: ~/Blink.ipa