Skip to content

Commit

Permalink
update ci for update carthage
Browse files Browse the repository at this point in the history
  • Loading branch information
vazarkevych committed Dec 3, 2022
1 parent 02fb65a commit bb8bb39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,11 @@ jobs:
sudo gem install bundler
bundle config set path 'vendor/bundle'
bundle install
carthage update --use-xcframeworks
- name: Build-Test
run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake test:parseui:all
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)

Expand Down
8 changes: 0 additions & 8 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,6 @@ namespace :test do

namespace :parseui do
task :all do
Rake::Task['test:parseui:build_carthage'].invoke
Rake::Task['test:parseui:framework'].invoke
Rake::Task['test:parseui:demo_objc'].invoke
end
Expand All @@ -584,13 +583,6 @@ namespace :test do
end
end

task :build_carthage do |_|
if !system('carthage update facebook-ios-sdk --use-xcframeworks')
puts 'Carthage Tests Failed!'
exit(1)
end
end

task :demo_objc do
task = XCTask::BuildTask.new do |t|
t.directory = script_folder
Expand Down

0 comments on commit bb8bb39

Please sign in to comment.