Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: simplify Script/build-webdriveragent.js #647

Merged
merged 6 commits into from
Dec 30, 2022
Merged

Conversation

KazuCocoa
Copy link
Member

part of appium/appium#17963

npm run bundle command will generate WebDriverAgentRunner-Runner-Sim-<build xcode version>.zip which includes WebDriverAgentRunner-Runner.app. I wonder if the simulator build also can be in https://github.com/appium/WebDriverAgent/releases We need to check if we need Xcode variations, the build is only for Intel (in the simulator build) etc.

Anyway, this PR simplify current Scripts/build-webdriveragent.js to have only building WDA with current Xcode version to run it on CI


async function buildWebDriverAgent (xcodeVersion) {
LOG.info(`Cleaning ${DERIVED_DATA_PATH} if exists`);
try {
await exec('xcodebuild', ['clean', '-derivedDataPath', DERIVED_DATA_PATH, '-scheme', 'WebDriverAgentRunner'], {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll extend this to tvOS later as another pr

@KazuCocoa KazuCocoa merged commit 81dab6c into master Dec 30, 2022
@KazuCocoa KazuCocoa deleted the kazucocoa/similify branch December 30, 2022 19:04
github-actions bot pushed a commit that referenced this pull request Dec 30, 2022
## [4.10.18](v4.10.17...v4.10.18) (2022-12-30)

### Miscellaneous Chores

* simplify Script/build-webdriveragent.js ([#647](#647)) ([81dab6c](81dab6c))
@github-actions
Copy link

🎉 This PR is included in version 4.10.18 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants