Skip to content

Commit

Permalink
add to test facebook builds
Browse files Browse the repository at this point in the history
  • Loading branch information
vazarkevych committed Dec 26, 2022
1 parent 0d7fb66 commit 5512e55
Show file tree
Hide file tree
Showing 7 changed files with 277 additions and 200 deletions.
332 changes: 166 additions & 166 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,153 +9,153 @@ env:
CI_XCODE_13: '/Applications/Xcode_13.1.app/Contents/Developer'

jobs:
ios:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Cache Gems
id: cache-gems
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gem-
- name: Submodules and Bundle Install
run: |
git submodule update --init --recursive
sudo gem install bundler
bundle config set path 'vendor/bundle'
bundle install
- name: Build-Test
run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake test:ios
env:
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
- name: Send codecov
run: bash <(curl https://codecov.io/bash)
# ios:
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v2
# - name: Cache Gems
# id: cache-gems
# uses: actions/cache@v2
# with:
# path: vendor/bundle
# key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
# restore-keys: |
# ${{ runner.os }}-gem-
# - name: Submodules and Bundle Install
# run: |
# git submodule update --init --recursive
# sudo gem install bundler
# bundle config set path 'vendor/bundle'
# bundle install
# - name: Build-Test
# run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake test:ios
# env:
# DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
# - name: Send codecov
# run: bash <(curl https://codecov.io/bash)

macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Cache Gems
id: cache-gems
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gem-
- name: Submodules and Bundle Install
run: |
git submodule update --init --recursive
sudo gem install bundler
bundle config set path 'vendor/bundle'
bundle install
- name: Create and set the default keychain
run: |
security create-keychain -p "" temporary
security default-keychain -s temporary
security unlock-keychain -p "" temporary
security set-keychain-settings -lut 7200 temporary
- name: Build-Test
run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake test:macos
env:
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
- name: Send codecov
run: bash <(curl https://codecov.io/bash)
# macos:
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v2
# - name: Cache Gems
# id: cache-gems
# uses: actions/cache@v2
# with:
# path: vendor/bundle
# key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
# restore-keys: |
# ${{ runner.os }}-gem-
# - name: Submodules and Bundle Install
# run: |
# git submodule update --init --recursive
# sudo gem install bundler
# bundle config set path 'vendor/bundle'
# bundle install
# - name: Create and set the default keychain
# run: |
# security create-keychain -p "" temporary
# security default-keychain -s temporary
# security unlock-keychain -p "" temporary
# security set-keychain-settings -lut 7200 temporary
# - name: Build-Test
# run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake test:macos
# env:
# DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
# - name: Send codecov
# run: bash <(curl https://codecov.io/bash)

facebook_utils:
needs: parseui
runs-on: macos-latest
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Cache Gems
id: cache-gems
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gem-
- name: Submodules and Bundle Install
run: |
git submodule update --init --recursive
sudo gem install bundler
bundle config set path 'vendor/bundle'
bundle install
carthage bootstrap --use-xcframeworks
- name: Build-Test
run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake test:facebook_utils:ios
env:
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
- name: Send codecov
run: bash <(curl https://codecov.io/bash)
# facebook_utils:
# needs: parseui
# runs-on: macos-latest
# env:
# GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# steps:
# - uses: actions/checkout@v2
# - name: Cache Gems
# id: cache-gems
# uses: actions/cache@v2
# with:
# path: vendor/bundle
# key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
# restore-keys: |
# ${{ runner.os }}-gem-
# - name: Submodules and Bundle Install
# run: |
# git submodule update --init --recursive
# sudo gem install bundler
# bundle config set path 'vendor/bundle'
# bundle install
# carthage bootstrap --use-xcframeworks
# - name: Build-Test
# run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake test:facebook_utils:ios
# env:
# DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
# - name: Send codecov
# run: bash <(curl https://codecov.io/bash)

twitter_utils:
needs: parseui
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Cache Gems
id: cache-gems
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gem-
- name: Submodules and Bundle Install
run: |
git submodule update --init --recursive
sudo gem install bundler
bundle config set path 'vendor/bundle'
bundle install
- name: Build-Test
run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake test:twitter_utils:ios
env:
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
- name: Send codecov
run: bash <(curl https://codecov.io/bash)
# twitter_utils:
# needs: parseui
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v2
# - name: Cache Gems
# id: cache-gems
# uses: actions/cache@v2
# with:
# path: vendor/bundle
# key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
# restore-keys: |
# ${{ runner.os }}-gem-
# - name: Submodules and Bundle Install
# run: |
# git submodule update --init --recursive
# sudo gem install bundler
# bundle config set path 'vendor/bundle'
# bundle install
# - name: Build-Test
# run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake test:twitter_utils:ios
# env:
# DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
# - name: Send codecov
# run: bash <(curl https://codecov.io/bash)

parseui:
runs-on: macos-latest
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Cache Gems
id: cache-gems
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gem-
- name: Submodules and Bundle Install
run: |
git submodule update --init --recursive
sudo gem install bundler
bundle config set path 'vendor/bundle'
bundle install
carthage bootstrap --use-xcframeworks
- name: Build-Test
env:
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake test:parseui:all
- name: Send codecov
run: bash <(curl https://codecov.io/bash)
# parseui:
# runs-on: macos-latest
# env:
# GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# steps:
# - uses: actions/checkout@v2
# - name: Cache Gems
# id: cache-gems
# uses: actions/cache@v2
# with:
# path: vendor/bundle
# key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
# restore-keys: |
# ${{ runner.os }}-gem-
# - name: Submodules and Bundle Install
# run: |
# git submodule update --init --recursive
# sudo gem install bundler
# bundle config set path 'vendor/bundle'
# bundle install
# carthage bootstrap --use-xcframeworks
# - name: Build-Test
# env:
# DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
# run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake test:parseui:all
# - name: Send codecov
# run: bash <(curl https://codecov.io/bash)

cocoapods:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: CocoaPods
run: set -o pipefail && env NSUnbufferedIO=YES pod lib lint --allow-warnings --verbose --skip-import-validation
env:
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
# cocoapods:
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v2
# - name: CocoaPods
# run: set -o pipefail && env NSUnbufferedIO=YES pod lib lint --allow-warnings --verbose --skip-import-validation
# env:
# DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}

assets:
runs-on: macos-latest
Expand Down Expand Up @@ -183,27 +183,27 @@ jobs:
env:
DEVELOPER_DIR: ${{ env.CI_XCODE_11 }}

docs:
needs: parseui
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Cache Gems
id: cache-gems
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gem-
- name: Submodules and Bundle Instal
run: |
git submodule update --init --recursive
sudo gem install bundler
bundle config path vendor/bundle
bundle install
- name: Create Jazzy Docs
run: |
./Scripts/jazzy.sh
env:
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
# docs:
# needs: parseui
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v2
# - name: Cache Gems
# id: cache-gems
# uses: actions/cache@v2
# with:
# path: vendor/bundle
# key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
# restore-keys: |
# ${{ runner.os }}-gem-
# - name: Submodules and Bundle Instal
# run: |
# git submodule update --init --recursive
# sudo gem install bundler
# bundle config path vendor/bundle
# bundle install
# - name: Create Jazzy Docs
# run: |
# ./Scripts/jazzy.sh
# env:
# DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
Loading

0 comments on commit 5512e55

Please sign in to comment.