Skip to content

Commit

Permalink
Allow package plugins to run on CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave committed Aug 5, 2024
1 parent 968c280 commit 8b86f6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ci_scripts/ci_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ setup_xcode_cloud_environment () {
install_xcode_cloud_brew_dependencies () {
brew update && brew install xcodegen

# Allow Prefire and SwiftPackageList to run.
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES

if [ "$CI_WORKFLOW" = "Nightly" ]; then
brew install imagemagick@6
brew link imagemagick@6 # imagemagick@6 is keg-only, which means it was not symlinked into /usr/local,
Expand All @@ -42,6 +45,9 @@ setup_github_actions_environment() {
unset HOMEBREW_NO_INSTALL_FROM_API
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1

# Allow Prefire and SwiftPackageList to run.
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES

brew update && brew install xcodegen swiftformat git-lfs a7ex/homebrew-formulae/xcresultparser

if [ "$CI_WORKFLOW" = "PR_BUILD" ]; then
Expand Down
1 change: 0 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ lane :unit_tests do |options|
ensure_devices_found: true,
result_bundle: true,
number_of_retries: 3,
xcargs: '-skipPackagePluginValidation',
)
end

Expand Down

0 comments on commit 8b86f6a

Please sign in to comment.