Commit Graph
294 Commits
Author SHA1 Message Date
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
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
Vasilii Polikarpov 2733b9fa28 [macOS] Install swiftlint from Homebrew (#7912) 2023-07-25 15:16:35 +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 https://github.com/actions/runner-images/commit/3929bc9f6e249a4731ad86b7b11793af9fec2d03
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
Erik Bershel e1366c9a6f [macOS] Fix Python2 installer condition (#7624) 2023-05-22 21:52:24 +02:00
ilia-shipitsin 9d9b3a110d [macos] add reties for dotnet download (#7601) 2023-05-18 17:08:04 +02:00
ilia-shipitsin f2b1fa1399 [macos] enable python3 (and pipx) on macOS13 (#7599) 2023-05-18 09:21:55 +02:00
Alexey-Ayupov 8b099099d9 [macos] prepare repository for ARM64 arch (#7396) 2023-05-12 13:30:13 +02:00
sergei-pyshnoi 8bac0d5de1 [macOS] fix edge installation (#7553) 2023-05-09 19:41:47 +02:00
Shamil Mubarakshin fddf50db2a Add Ruby and Python to toolcache (#7529) 2023-05-05 08:38:29 +02:00
Shamil Mubarakshin a2308e8518 [macos] remove GraalVM (#7398) 2023-04-06 18:29:02 +02:00
Mikhail Koliada ea986d3260 [Anka] Decrement retries for auth attempts (#7217) 2023-03-02 11:21:19 +01:00
Maxim Lobanov fec7951493 Fix Xcode simulator naming at the end of image generation (#7181) 2023-03-01 10:43:47 +01:00
Alexey-Ayupov c6c2716726 [macOS] prepare repository for macOS 13 (#7156) 2023-02-28 20:24:25 +01:00
Mikhail Koliada 9089d1ec95 [macOS] do not install tcl/tk symlinks on BigSur (#7202) 2023-02-28 14:49:01 +01:00
Erik Bershel c60c6b67ab [macOS] Update Python3 installer script (#7104) 2023-02-14 16:47:55 +01:00
sergei-pyshnoi 8767a6eb4e Remove all macOS-10.15 related code (#7078) 2023-02-13 16:40:48 +01:00
Alexey-Ayupov feb6252fae [macOS] Update templates to fix issue with node 19 (#7081) 2023-02-11 11:25:07 +01:00
Julian Ospald c92736d124 Don't clean up haddock and profiling libs on MacOS (#7069)
This was initially meant to save space in docker containers,
but breaks several use cases and runner images shouldn't have
space constraints.
2023-02-09 21:47:25 +01:00
Angela P Wen 1e75a20a49 [Linux,macOS,Windows] Download two latest CodeQL bundles (#6884)
Previously, our runner image only included the most recent release of CodeQL. In order to improve stability of rollout of new CodeQL versions, we are now downloading the most recent two releases.

The change updates the Linux and Windows script variable names to match that of the Mac script, because they are mostly functionally identical. It also adds the same log messages to all scripts and ensures Mac and Windows test parity. It tests that there are two bundles in each of the OS's as well.

This will approximately double the total size and installation time of the existing CodeQL tool.
2023-01-29 14:46:43 +01:00
Alexey-Ayupov 15829d25a9 [macOS] Hardcode command line tools (#6965) 2023-01-23 16:54:13 +01:00
Alexey-AyupovandAlexey Ayupov 8c2a400be2 [macOS] Pin PowerShell version 7.2.7 (#6596)
Co-authored-by: Alexey Ayupov <“[email protected]”>
2022-11-20 14:05:15 +01:00
Alexey-Ayupov 279e529dab [macOS] vcpkg workaround (#6579) 2022-11-16 18:31:26 +01:00
Aleksandr Chebotov a642059809 fix yq invocation on android repo xml (#6563) 2022-11-14 12:51:35 +01:00
Erik Bershel a9611d8e7f Revert VCPKG_ROOT variable (#6458) 2022-10-25 09:30:50 +02:00
Erik Bershel 5e91f0a07d Revert "Revert VCPKG_ROOT variable (#6449)"
This reverts commit 88d253f383.
2022-10-24 12:27:27 +02:00
Erik Bershel 88d253f383 Revert VCPKG_ROOT variable (#6449) 2022-10-24 11:10:20 +02:00
Aleksandr Chebotov 62ffca0dfd [macOS] Create tcl/tk symlinks (#6443) 2022-10-21 13:50:47 +02:00
Aleksandr Chebotov ee878fc161 Replace bindgen to bindgen-cli 2022-10-17 13:52:25 +02:00
Aleksandr Chebotov 3442a5c475 Tight VirtualBox version to 6.1.38 (#6391) 2022-10-12 16:03:27 +02:00
Aleksandr Chebotov 0ca065b7c2 Close System Preferences window (#6329) 2022-09-29 21:58:02 +02:00
Aleksandr Chebotov 3f0a28fe18 [macOS] Add Parallels Desktop extension (#6314)
* Add Parallels Desktop extension

* fix typo

* remove new line
2022-09-28 20:06:08 +03:00
Erik Bershel 148eaf9c80 Add VCPKG_ROOT variable (#6195) 2022-09-09 11:04:46 +02:00
Mikhail Timofeev cda85a59ac [macOS] Stop versioned postgresql service instead of the general one (#6166)
* Stop versioned postgresql service instead of the general one

* Start versioned postgres service
2022-08-30 20:06:24 +03:00
Mikhail Timofeev 22ec52bf2c Uninstall public_suffix 5.0 gem (#6150) 2022-08-29 20:21:08 +03:00