Commit Graph

440 Commits

Author SHA1 Message Date
ilia-shipitsin
2fd64bb024 [macos] add retries when installing DotNETSDK (#8550) 2023-10-13 14:29:01 +02:00
Alexey-Ayupov
15a60352c0 [macOS] Fix Gradle test (#8543) 2023-10-12 20:38:12 +02:00
Shamil Mubarakshin
229285b76d [macos] Adjust activesupport ruby gem version pinning (#8541) 2023-10-12 19:06:03 +02:00
sergei-pyshnoi
eff24a90c9 [MacOS] Add closing System Preference window for arm64 (#8470) 2023-10-12 11:31:35 +02:00
Tingluo Huang
d77bb13e97 [macOS] cache most used GitHub actions
* Download actions/action_versions latest release on macOS and set ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE.

* Feedback.
2023-10-12 10:54:39 +02:00
Shamil Mubarakshin
99642f1c19 [macos] Add activesupport gem workaround for cocoapods (#8497) 2023-10-09 15:39:39 +02:00
Shamil Mubarakshin
804736733e [macos13] Fix preimagedata for arm64 (#8488) 2023-10-09 15:34:51 +02:00
Alexey-Ayupov
60963fb52e [macOS] Add java to the macOS 13 arm64 (#8395) 2023-10-05 12:42:16 +02:00
Alexey-Ayupov
59805f59ab [macOS] Exclude virtualbox from macOS 13 arm64 (#8469) 2023-10-04 15:44:28 +02:00
Vasilii Polikarpov
2cbf4a7f93 [Mac OS] Remove hub utility (#8364) 2023-09-26 09:32:02 +02:00
Vasilii Polikarpov
19c23d1208 Add mono to mac OS 13 image (#8342) 2023-09-22 12:33:37 +02:00
Mikhail Koliada
ed105d016e [macOS] improve openssl@1.1 installation on arm64 (#8353) 2023-09-21 13:57:24 +02:00
Mikhail Koliada
e3032a9bc3 [macOS] do not install intel related symlinks on arm64 openssl (#8328) 2023-09-19 14:46:33 +02:00
Mikhail Koliada
3b6bcd7dca [macOS] drop spaceship env variables from Xcode.ps1 (#8310) 2023-09-18 18:02:56 +02:00
ilia-shipitsin
5ffd15d845 [macos] suppress xcodebuild output (#8276) 2023-09-13 11:45:19 +02:00
ilia-shipitsin
1410e7c1f1 [macos] introduce additional runtimes for XCode (#8254) 2023-09-11 13:39:00 +02:00
Mikhail Koliada
63a3a7646f [macOS 13] cleanup yarn cache (#8240) 2023-09-06 13:45:11 +02:00
ilia-shipitsin
0a6c637b3f macos: drop Hardware_Accelerated_Execution_Manager (#8216) 2023-09-01 22:06:41 +02:00
Mikhail Koliada
c9608d744f [macOS] do not iterate over npm packages on Ventura (#8175) 2023-08-30 15:07:36 +02:00
sergei-pyshnoi
6315e88f65 [macOS] Fix open file limits (#8187) 2023-08-30 12:51:14 +02:00
ilia-shipitsin
49ea494d52 [macos] cleanup Homebrew cache after image generation (#8182) 2023-08-29 15:21:37 +02:00
ilia-shipitsin
6bf51e6351 [macos] move license accept out of parallel ForEach (#8120) 2023-08-22 10:01:24 +02:00
Erik Bershel
b2b0e8f4d6 Revert "[macOS] Remove sensitive data from a download log (#7934)" (#8121)
This reverts commit c9e6a45f28.
2023-08-21 17:51:16 +02:00
Erik Bershel
50ff20755c [macOS] Install Google Chrome cask with default method (#8070)
Reverting pretty old rework: https://github.com/actions/runner-images/pull/1861.
2023-08-11 11:47:08 +02:00
ilia-shipitsin
8b4ff6aec2 [macos] suppress swiftc warnings regarding deprecated API (#7989)
==> veertu-anka-vm-clone.template: /Users/<sensitive>/image-generation/add-certificate.swift:21:5: warning: 'SecKeychainSetPreferenceDomain' was deprecated in macOS 10.10: SecKeychain is deprecated
==> veertu-anka-vm-clone.template:     SecKeychainSetPreferenceDomain(SecPreferencesDomain.system)
==> veertu-anka-vm-clone.template:     ^
==> veertu-anka-vm-clone.template: /Users/<sensitive>/image-generation/add-certificate.swift:22:5: warning: result of call to 'deleteCertificateFromKeyChain' is unused
==> veertu-anka-vm-clone.template:     deleteCertificateFromKeyChain(certificateLabel)
==> veertu-anka-vm-clone.template:     ^                            ~~~~~~~~~~~~~~~~~~
==> veertu-anka-vm-clone.template: /Users/<sensitive>/image-generation/add-certificate.swift:36:9: warning: initialization of variable 'status' was never used; consider replacing with assignment to '_' or removing it
==> veertu-anka-vm-clone.template:     var status = SecTrustSettingsSetTrustSettings(certificate, SecTrustSettingsDomain.admin, nil)
==> veertu-anka-vm-clone.template:     ~~~~^~~~~~
==> veertu-anka-vm-clone.template:     _
2023-08-09 12:09:34 +02:00
Vasilii Polikarpov
0bb547e62c [mac OS] Update miniconda download link (#8042) 2023-08-04 19:38:18 +02:00
Shamil Mubarakshin
ff6a3d4b29 [macos] Utilise arch helper function (#8036) 2023-08-03 18:20:16 +02:00
Vasilii Polikarpov
89acd994b2 [mac OS] Remove AdoptOpenJDK (#8025) 2023-08-03 10:42:41 +02:00
Vasilii Polikarpov
463cbf01cf [mac OS] Set flags for curl invocations (#8008) 2023-08-01 15:42:44 +02:00
ilia-shipitsin
67f9c37eee [macos] enable simulators for XCode-15 (#8001)
test on simulators is really weird, after deep investigation we
deviced to disable it for a while
2023-08-01 10:01:30 +02:00
Vasilii Polikarpov
ae5b1c7dff Install chrome for testing in mac OS (#7990) 2023-07-28 21:09:52 +02:00
Mikhail Koliada
3c7978b116 [macOS] update dotnet core version json path (#7995) 2023-07-28 16:12:54 +02:00
Shamil Mubarakshin
fc2f35d593 [macos] Add toolcache for arm (#7974) 2023-07-28 12:37:00 +02:00
ilia-shipitsin
52b92ff310 [macos] supress nonsignificant powershell warning (#7985)
veertu-anka-vm-clone.template: Installing Xcode versions...
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
2023-07-26 17:41:57 +02:00
Mike McQuaid
35b2bdbc78 macOS bashrc: don't cleanup Homebrew on installation. (#7975)
This is unnecessary in ephemeral environments like GitHub Actions. `HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS` avoided the longer periodic cleanup but this is a better fix for speeding up Homebrew a bit in GitHub Actions.
2023-07-26 11:45:08 +02:00
Erik Bershel
e62d609811 [macOS] Remove ankarund signatures from TCC.db (#7979) 2023-07-26 11:43:20 +02:00
Vasilii Polikarpov
2733b9fa28 [macOS] Install swiftlint from Homebrew (#7912) 2023-07-25 15:16:35 +02:00
Vasilii Polikarpov
fe199ce232 Stop processing when release list download fails (#7932) 2023-07-21 10:03:46 +02:00
Erik Bershel
26354abedf [macOS] Access for TestCafe to the ScreenCapture (#7893) 2023-07-20 15:24:23 +02:00
Erik Bershel
c9e6a45f28 [macOS] Remove sensitive data from a download log (#7934) 2023-07-19 18:01:40 +02:00
Alexey-Ayupov
48e0cd3828 Add trailing newline to bash_profile (#7909) 2023-07-14 11:36:56 +02:00
sergei-pyshnoi
38e96ca31a [Mac OS] Add permissions for provisioner to Terminal and Screen recording (#7803)
* give permissions for provisioner

* add additional permissions
2023-07-11 12:49:06 +02:00
sergei-pyshnoi
d4a497eaab add comment 2023-07-11 11:41:45 +02:00
sergei-pyshnoi
1bf18b5a8a add chown for .cache and .config for arm64 2023-07-10 16:24:32 +02:00
ilia-shipitsin
c5579bd0e9 [macos] temporarily disable simulators on XCode-15 (#7880) 2023-07-07 22:46:36 +02:00
ilia-shipitsin
2ccef4f100 [macos] fix XCode simulator install behaviour (#7878)
* [macos] fix XCode simulator install behaviour

in 3929bc9f6e
was introduced regression: simulators were installed only for latest
XCode-14 instance. However, they should be installed for all XCode-14
instances.

let us revert that behaviour

* improve code readability by moving version comparison outside loop

* rework brew installation for ARM64
2023-07-07 16:24:33 +02:00
ilia-shipitsin
2b8425307d [macos] add workaround for homebrew/core, homebrew/cask (#7866)
it was found that "git clone --depth 1 .." followed by "brew tap.."
actually works even if some git index accidently broken
2023-07-06 16:36:33 +02:00
ilia-shipitsin
63b7bc4bde [macos] refactor XCode installation approach (#7858)
* [macos] refactor XCode installation approach

xcversion does not work anymore, we are switching to storing
XCode installers in intermediate Azure storage

* remove xcode_install_user, xcode_install_password

* rename xcode_install_storage --> xcode_install_storage_url

* mark xcode installation variables sensitive

* remove xcversion_auth_cookie variable

* renamed forgotten xcode_install_storage --> xcode_install_storage_url

* remove leftover xcode_install_user
2023-07-06 11:36:08 +02:00
Vasilii Polikarpov
9f98ea4461 Fix XCode simulators installation (#7769) 2023-06-30 17:14:01 +02:00
Henry Mercer
6cc825e8d6 [macOS] CodeQL: Simplify the toolcache version number for bundles tagged using semver (#7717) 2023-06-14 18:58:50 +02:00