[macOS] Remove macOS 10.14 related code in the VE repo (#4816)

* [MacOS] Remove code for macOS-10.14

* remove is_Less_BigSur in all script

* remove variable the IsLessThanBigSur
This commit is contained in:
V-Zabayrachny
2021-12-30 10:36:59 +03:00
committed by GitHub
parent 29dbc46881
commit 3c2f1c6350
24 changed files with 33 additions and 1127 deletions

View File

@@ -1,23 +0,0 @@
name: macOS-10.14_$(date:yyyyMMdd)$(rev:.r)_unstable
schedules:
- cron: "0 0 * * *"
displayName: Daily
branches:
include:
- main
always: true
trigger: none
pr:
autoCancel: true
branches:
include:
- main
jobs:
- template: image-generation.yml
parameters:
image_label: 'macOS Mojave'
base_image_name: 'clean-macOS-10.14-380Gb_runner'
template_path: 'templates/macOS-10.14.json'
target_datastore: 'ds-image'

View File

@@ -34,14 +34,10 @@ function Get-OSVersion {
return [PSCustomObject]@{
Version = $osVersion.Version
Platform = $osVersion.Platform
IsMojave = $osVersionMajorMinor -eq "10.14"
IsCatalina = $osVersionMajorMinor -eq "10.15"
IsBigSur = $osVersionMajorMinor -eq "11.0"
IsMonterey = $osMontereyVersion.Major -eq "12"
IsLessThanCatalina = [SemVer]$osVersion.Version -lt "10.15"
IsLessThanBigSur = [SemVer]$osVersion.Version -lt "11.0"
IsLessThanMonterey = $osMontereyVersion -lt "12.0"
IsHigherThanMojave = [SemVer]$osVersion.Version -ge "10.15"
IsHigherThanCatalina = [SemVer]$osVersion.Version -ge "11.0"
}
}

View File

@@ -1,379 +0,0 @@
| Announcements |
|-|
| [[macOS] Xcode 12.5 will be removed from Big Sur on October, 18](https://github.com/actions/virtual-environments/issues/4183) |
| [[macOS] Default Xcode on Big Sur image will be set to Xcode 13.0 on October, 18](https://github.com/actions/virtual-environments/issues/4180) |
| [macOS-latest workflows will use macOS-11](https://github.com/actions/virtual-environments/issues/4060) |
***
# macOS 10.14 info
- System Version: macOS 10.14.6 (18G9323)
- Kernel Version: Darwin 18.7.0
- Image Version: 20211016.1
## Installed Software
### Language and Runtime
- .NET SDK 2.1.302 2.1.403 2.1.507
- Bash 3.2.57(1)-release
- Clang/LLVM 11.0.0 is default
- Clang/LLVM 13.0.0 is available on `'$(brew --prefix llvm)/bin/clang'`
- gcc-9 (Homebrew GCC 9.4.0) 9.4.0 - available by `gcc-9` alias
- gcc-10 (Homebrew GCC 10.3.0) 10.3.0 - available by `gcc-10` alias
- gcc-11 (Homebrew GCC 11.2.0) 11.2.0 - available by `gcc-11` alias
- GNU Fortran (Homebrew GCC 9.4.0) 9.4.0 - available by `gfortran-9` alias
- GNU Fortran (Homebrew GCC 10.3.0) 10.3.0 - available by `gfortran-10` alias
- GNU Fortran (Homebrew GCC 11.2.0) 11.2.0 - available by `gfortran-11` alias
- Go 1.15.15
- julia 1.6.3
- Kotlin 1.5.31-release-548
- MSBuild 15.7.224.30163 (from /Library/Frameworks/Mono.framework/Versions/5.12.0/lib/mono/msbuild/15.0/bin/MSBuild.dll)
- Node.js v8.17.0
- NVM 0.39.0
- NVM - Cached node versions: v10.24.1 v12.22.7 v14.18.1
- Perl 5.34.0
- PHP 8.0.11
- Python 2.7.18
- Python 3.9.7
- R 4.1.1
- Ruby 2.7.4p191
### Package Management
- Bundler version 2.2.29
- Carthage 0.38.0
- CocoaPods 1.11.2
- Composer 2.1.9
- Homebrew 3.2.16
- Miniconda 4.10.3
- NPM 3.10.10
- NuGet 4.7.0.5148
- Pip 20.3.4 (python 2.7)
- Pip 21.2.4 (python 3.9)
- Pipx 0.16.4
- RubyGems 3.2.29
- Yarn 1.22.15
#### Environment variables
| Name | Value |
| ----------------------- | -------------------- |
| CONDA | /usr/local/miniconda |
| VCPKG_INSTALLATION_ROOT | |
### Project Management
- Apache Ant(TM) 1.10.11
- Apache Maven 3.8.3
- Gradle 7.2
- Sbt 1.5.5
### Utilities
- 7-Zip 17.04
- aria2 1.36.0
- azcopy 10.12.2
- bazel 3.7.1
- bazelisk 1.10.1
- bsdtar 2.8.3 - available by 'tar' alias
- Curl 7.79.1
- Git LFS: 3.0.1
- Git: 2.33.1
- GitHub CLI: 2.1.0
- GNU parallel 20210922
- GNU Tar 1.34 - available by 'gtar' alias
- GNU Wget 1.21.2
- gpg (GnuPG) 2.3.2
- helm v3.7.1+g1d11fcb
- Hub CLI: 2.14.2
- jq 1.6
- mongo v5.0.3
- mongod v5.0.3
- OpenSSL 1.1.1l 24 Aug 2021 `(/usr/local/opt/openssl@1.1 -> /usr/local/Cellar/openssl@1.1/1.1.1l_1)`
- Packer 1.7.6
- PostgreSQL 14.0
- psql (PostgreSQL) 14.0
- Sox 14.4.2
- Subversion (SVN) 1.14.1
- Switchaudio-osx 1.1.0
- Vagrant 2.2.18
- virtualbox 6.1.26r145957
- zstd 1.5.0
### Tools
- Aliyun CLI 3.0.94
- App Center CLI 1.2.2
- AWS CLI 2.2.46
- AWS SAM CLI 1.33.0
- AWS Session Manager CLI 1.2.245.0
- Azure CLI 2.29.0
- Bicep CLI 0.4.1008
- Cabal 3.4.1.0
- Cmake 3.21.3
- Fastlane 2.196.0
- GHC 9.0.1
- GHCup 0.1.17.2
- Stack 2.7.3
- SwiftFormat 0.48.16
- Swig 4.0.2
- Xcode Command Line Tools 10.3.0.0.1.1562985497
### Linters
- SwiftLint 0.44.0
- yamllint 1.26.3
### Browsers
- Safari 14.1.2 (14611.3.10.1.5)
- SafariDriver 14.1.2 (14611.3.10.1.5)
- Google Chrome 94.0.4606.81
- ChromeDriver 94.0.4606.61
- Microsoft Edge 94.0.992.50
- MSEdgeDriver 94.0.992.50
- Mozilla Firefox 93.0
- geckodriver 0.30.0
#### Environment variables
| Name | Value |
| --------------- | --------------------------------------------- |
| CHROMEWEBDRIVER | /usr/local/Caskroom/chromedriver/94.0.4606.61 |
| EDGEWEBDRIVER | /usr/local/share/edge_driver |
| GECKOWEBDRIVER | /usr/local/opt/geckodriver/bin |
### Java
| Version | Vendor | Environment Variable |
| ------------------- | --------------- | -------------------- |
| 8.0.302+8 (default) | Eclipse Temurin | JAVA_HOME_8_X64 |
| 11.0.12+7 | Eclipse Temurin | JAVA_HOME_11_X64 |
| 12.0.2+10.3 | Adopt OpenJDK | JAVA_HOME_12_X64 |
| 13.0.2+8.1 | Adopt OpenJDK | JAVA_HOME_13_X64 |
| 14.0.2+12 | Adopt OpenJDK | JAVA_HOME_14_X64 |
| 17.0.0+35 | Eclipse Temurin | JAVA_HOME_17_X64 |
### Cached Tools
#### Ruby
- 2.4.10
- 2.5.9
- 2.6.8
- 2.7.4
- 3.0.2
#### Python
- 2.7.18
- 3.5.10
- 3.6.15
- 3.7.12
- 3.8.12
- 3.9.7
- 3.10.0
#### PyPy
- 2.7.18 [PyPy 7.3.5]
- 3.6.12 [PyPy 7.3.3]
#### Node.js
- 10.24.1
- 12.22.7
- 14.18.1
#### Go
| Version | Architecture | Environment Variable |
| ------- | ------------ | -------------------- |
| 1.13.15 | x64 | GOROOT_1_13_X64 |
| 1.14.15 | x64 | GOROOT_1_14_X64 |
| 1.15.15 (Default) | x64 | GOROOT_1_15_X64 |
| 1.16.9 | x64 | GOROOT_1_16_X64 |
| 1.17.2 | x64 | GOROOT_1_17_X64 |
### Rust Tools
- Cargo 1.55.0
- Rust 1.55.0
- Rustdoc 1.55.0
- Rustup 1.24.3
#### Packages
- Bindgen 0.59.1
- Cargo-audit 0.15.2
- Cargo-outdated v0.9.17
- Cbindgen 0.20.0
- Clippy 0.1.55
- Rustfmt 1.4.37-stable
### PowerShell Tools
- PowerShell 7.1.5
#### PowerShell Modules
| Module | Version |
| ---------------- | ------- |
| Az | 6.1.0 |
| MarkdownPS | 1.9 |
| Pester | 5.3.1 |
| PSScriptAnalyzer | 1.20.0 |
### Xamarin
#### Visual Studio for Mac
- 8.5.0.3183
#### Xamarin bundles
| symlink | Xamarin.Mono | Xamarin.iOS | Xamarin.Mac | Xamarin.Android |
| ---------------- | ------------ | ----------- | ----------- | --------------- |
| 6_8_0 | 6.8 | 13.14 | 6.14 | 10.2 |
| 6_6_1 | 6.6 | 13.10 | 6.10 | 10.1 |
| 6_6_0 | 6.6 | 13.8 | 6.8 | 10.1 |
| 6_4_2 | 6.4 | 13.6 | 6.6 | 10.0 |
| 6_4_1 | 6.4 | 13.4 | 6.4 | 10.0 |
| 6_4_0 | 6.4 | 13.2 | 6.2 | 10.0 |
| 6_0_0 | 6.0 | 12.14 | 5.16 | 9.4 |
| 5_18_3 | 5.18 | 12.10 | 5.10 | 9.3 |
| 5_18_2 | 5.18 | 12.8 | 5.8 | 9.2 |
| 5_18_1 | 5.18 | 12.6 | 5.6 | 9.2 |
| 5_16_0_0 | 5.16 | 12.2 | 5.2 | 9.1 |
| 5_16_0 | 5.16 | 12.2 | 5.2 | 9.1 |
| 5_12_0_3 | 5.12 | 12.2 | 5.3 | 9.0 |
| 5_12_0_XC10_PRE | 5.12 | 12.0 | 5.2 | 9.0 |
| 5_12_0 (default) | 5.12 | 11.14 | 4.6 | 9.0 |
| 5_10_1 | 5.10 | 11.12 | 4.4 | 8.3 |
| 5_8_1 | 5.8 | 11.9 | 4.2 | 8.2 |
| 5_8_0 | 5.8 | 11.8 | 4.2 | 8.2 |
| 5_4_1 | 5.4 | 11.6 | 4.0 | 8.1 |
| 5_4_0 | 5.4 | 11.2 | 3.8 | 8.0 |
| 5_2_0 | 5.2 | 11.0 | 3.6 | 7.4 |
| Legacy_5_0_1 | 5.0 | 10.10 | 3.4 | 7.3 |
| Legacy_4_8_1 | 4.8 | 10.6 | 3.0 | 7.1 |
#### Unit Test Framework
- NUnit 3.6.1
### Xcode
| Version | Build | Path |
| ---------------- | ------- | ------------------------------ |
| 11.3.1 (default) | 11C505 | /Applications/Xcode_11.3.1.app |
| 11.3 | 11C29 | /Applications/Xcode_11.3.app |
| 11.2.1 | 11B500 | /Applications/Xcode_11.2.1.app |
| 11.2 | 11B52 | /Applications/Xcode_11.2.app |
| 11.1 | 11A1027 | /Applications/Xcode_11.1.app |
| 11.0 | 11A420a | /Applications/Xcode_11.app |
| 10.3 | 10G8 | /Applications/Xcode_10.3.app |
| 10.2.1 | 10E1001 | /Applications/Xcode_10.2.1.app |
| 10.2 | 10E125 | /Applications/Xcode_10.2.app |
| 10.1 | 10B61 | /Applications/Xcode_10.1.app |
| 10.0 | 10A255 | /Applications/Xcode_10.app |
| 9.4.1 | 9F2000 | /Applications/Xcode_9.4.1.app |
#### Xcode Support Tools
- xcpretty 0.3.0
- xcversion 2.8.0
- Nomad CLI 0.0.2
- Nomad shenzhen CLI 0.14.3
- xctool 0.3.7
#### Installed SDKs
| SDK | SDK Name | Xcode Version |
| ----------------------- | -------------------- | -------------------------------------- |
| macOS 10.13 | macosx10.13 | 9.4.1 |
| macOS 10.14 | macosx10.14 | 10.0, 10.1, 10.2, 10.2.1, 10.3 |
| macOS 10.15 | macosx10.15 | 11.0, 11.1, 11.2, 11.2.1, 11.3, 11.3.1 |
| iOS 11.4 | iphoneos11.4 | 9.4.1 |
| iOS 12.0 | iphoneos12.0 | 10.0 |
| iOS 12.1 | iphoneos12.1 | 10.1 |
| iOS 12.2 | iphoneos12.2 | 10.2, 10.2.1 |
| iOS 12.4 | iphoneos12.4 | 10.3 |
| iOS 13.0 | iphoneos13.0 | 11.0 |
| iOS 13.1 | iphoneos13.1 | 11.1 |
| iOS 13.2 | iphoneos13.2 | 11.2, 11.2.1, 11.3, 11.3.1 |
| Simulator - iOS 11.4 | iphonesimulator11.4 | 9.4.1 |
| Simulator - iOS 12.0 | iphonesimulator12.0 | 10.0 |
| Simulator - iOS 12.1 | iphonesimulator12.1 | 10.1 |
| Simulator - iOS 12.2 | iphonesimulator12.2 | 10.2, 10.2.1 |
| Simulator - iOS 12.4 | iphonesimulator12.4 | 10.3 |
| Simulator - iOS 13.0 | iphonesimulator13.0 | 11.0 |
| Simulator - iOS 13.1 | iphonesimulator13.1 | 11.1 |
| Simulator - iOS 13.2 | iphonesimulator13.2 | 11.2, 11.2.1, 11.3, 11.3.1 |
| tvOS 11.4 | appletvos11.4 | 9.4.1 |
| tvOS 12.0 | appletvos12.0 | 10.0 |
| tvOS 12.1 | appletvos12.1 | 10.1 |
| tvOS 12.2 | appletvos12.2 | 10.2, 10.2.1 |
| tvOS 12.4 | appletvos12.4 | 10.3 |
| tvOS 13.0 | appletvos13.0 | 11.0, 11.1 |
| tvOS 13.2 | appletvos13.2 | 11.2, 11.2.1, 11.3, 11.3.1 |
| Simulator - tvOS 11.4 | appletvsimulator11.4 | 9.4.1 |
| Simulator - tvOS 12.0 | appletvsimulator12.0 | 10.0 |
| Simulator - tvOS 12.1 | appletvsimulator12.1 | 10.1 |
| Simulator - tvOS 12.2 | appletvsimulator12.2 | 10.2, 10.2.1 |
| Simulator - tvOS 12.4 | appletvsimulator12.4 | 10.3 |
| Simulator - tvOS 13.0 | appletvsimulator13.0 | 11.0, 11.1 |
| Simulator - tvOS 13.2 | appletvsimulator13.2 | 11.2, 11.2.1, 11.3, 11.3.1 |
| watchOS 4.3 | watchos4.3 | 9.4.1 |
| watchOS 5.0 | watchos5.0 | 10.0 |
| watchOS 5.1 | watchos5.1 | 10.1 |
| watchOS 5.2 | watchos5.2 | 10.2, 10.2.1 |
| watchOS 5.3 | watchos5.3 | 10.3 |
| watchOS 6.0 | watchos6.0 | 11.0, 11.1 |
| watchOS 6.1 | watchos6.1 | 11.2, 11.2.1, 11.3, 11.3.1 |
| Simulator - watchOS 4.3 | watchsimulator4.3 | 9.4.1 |
| Simulator - watchOS 5.0 | watchsimulator5.0 | 10.0 |
| Simulator - watchOS 5.1 | watchsimulator5.1 | 10.1 |
| Simulator - watchOS 5.2 | watchsimulator5.2 | 10.2, 10.2.1 |
| Simulator - watchOS 5.3 | watchsimulator5.3 | 10.3 |
| Simulator - watchOS 6.0 | watchsimulator6.0 | 11.0, 11.1 |
| Simulator - watchOS 6.1 | watchsimulator6.1 | 11.2, 11.2.1, 11.3, 11.3.1 |
| DriverKit 19.0 | driverkit.macosx19.0 | 11.0, 11.1, 11.2, 11.2.1, 11.3, 11.3.1 |
#### Installed Simulators
| OS | Xcode Version | Simulators |
| ----------- | --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| iOS 8.4 | 9.4.1<br>10.0<br>10.1<br>10.2<br>10.2.1<br>10.3<br>11.0<br>11.1<br>11.2<br>11.2.1<br>11.3<br>11.3.1 | iPhone 4s<br>iPhone 5<br>iPhone 5s<br>iPhone 6<br>iPhone 6 Plus<br>iPad 2<br>iPad Air<br>iPad Retina |
| iOS 9.0 | 9.4.1<br>10.0<br>10.1<br>10.2<br>10.2.1<br>10.3<br>11.0<br>11.1<br>11.2<br>11.2.1<br>11.3<br>11.3.1 | iPhone 4s<br>iPhone 5<br>iPhone 5s<br>iPhone 6<br>iPhone 6 Plus<br>iPhone 6s<br>iPhone 6s Plus<br>iPad 2<br>iPad Air<br>iPad Air 2<br>iPad Retina |
| iOS 9.1 | 9.4.1<br>10.0<br>10.1<br>10.2<br>10.2.1<br>10.3<br>11.0<br>11.1<br>11.2<br>11.2.1<br>11.3<br>11.3.1 | iPhone 4s<br>iPhone 5<br>iPhone 5s<br>iPhone 6<br>iPhone 6 Plus<br>iPhone 6s<br>iPhone 6s Plus<br>iPad 2<br>iPad Air<br>iPad Air 2<br>iPad Pro<br>iPad Retina |
| iOS 9.2 | 9.4.1<br>10.0<br>10.1<br>10.2<br>10.2.1<br>10.3<br>11.0<br>11.1<br>11.2<br>11.2.1<br>11.3<br>11.3.1 | iPhone 4s<br>iPhone 5<br>iPhone 5s<br>iPhone 6<br>iPhone 6 Plus<br>iPhone 6s<br>iPhone 6s Plus<br>iPad 2<br>iPad Air<br>iPad Air 2<br>iPad Pro<br>iPad Retina |
| iOS 9.3 | 9.4.1<br>10.0<br>10.1<br>10.2<br>10.2.1<br>10.3<br>11.0<br>11.1<br>11.2<br>11.2.1<br>11.3<br>11.3.1 | iPhone 4s<br>iPhone 5<br>iPhone 5s<br>iPhone 6<br>iPhone 6 Plus<br>iPhone 6s<br>iPhone 6s Plus<br>iPad 2<br>iPad Air<br>iPad Air 2<br>iPad Pro<br>iPad Retina |
| iOS 10.0 | 9.4.1<br>10.0<br>10.1<br>10.2<br>10.2.1<br>10.3<br>11.0<br>11.1<br>11.2<br>11.2.1<br>11.3<br>11.3.1 | iPhone 5<br>iPhone 5s<br>iPhone 6<br>iPhone 6 Plus<br>iPhone 6s<br>iPhone 6s Plus<br>iPhone SE<br>iPad Air<br>iPad Air 2<br>iPad Pro (12.9 inch)<br>iPad Pro (9.7 inch) |
| iOS 10.1 | 9.4.1<br>10.0<br>10.1<br>10.2<br>10.2.1<br>10.3<br>11.0<br>11.1<br>11.2<br>11.2.1<br>11.3<br>11.3.1 | iPhone 5<br>iPhone 5s<br>iPhone 6<br>iPhone 6 Plus<br>iPhone 6s<br>iPhone 6s Plus<br>iPhone 7<br>iPhone 7 Plus<br>iPhone SE<br>iPad Air<br>iPad Air 2<br>iPad Pro (12.9 inch)<br>iPad Pro (9.7 inch) |
| iOS 10.2 | 9.4.1<br>10.0<br>10.1<br>10.2<br>10.2.1<br>10.3<br>11.0<br>11.1<br>11.2<br>11.2.1<br>11.3<br>11.3.1 | iPhone 5<br>iPhone 5s<br>iPhone 6<br>iPhone 6 Plus<br>iPhone 6s<br>iPhone 6s Plus<br>iPhone 7<br>iPhone 7 Plus<br>iPhone SE<br>iPad Air<br>iPad Air 2<br>iPad Pro (12.9 inch)<br>iPad Pro (9.7 inch) |
| iOS 10.3 | 9.4.1<br>10.0<br>10.1<br>10.2<br>10.2.1<br>10.3<br>11.0<br>11.1<br>11.2<br>11.2.1<br>11.3<br>11.3.1 | iPhone 5<br>iPhone 5s<br>iPhone 6<br>iPhone 6 Plus<br>iPhone 6s<br>iPhone 6s Plus<br>iPhone 7<br>iPhone 7 Plus<br>iPhone SE<br>iPad (5th generation)<br>iPad Air<br>iPad Air 2<br>iPad Pro (10.5-inch)<br>iPad Pro (12.9 inch)<br>iPad Pro (12.9-inch) (2nd generation)<br>iPad Pro (9.7 inch) |
| iOS 11.4 | 9.4.1 | iPhone 5s<br>iPhone 6<br>iPhone 6 Plus<br>iPhone 6s<br>iPhone 6s Plus<br>iPhone 7<br>iPhone 7 Plus<br>iPhone 8<br>iPhone 8 Plus<br>iPhone SE<br>iPhone X<br>iPad (5th generation)<br>iPad Air<br>iPad Air 2<br>iPad Pro (10.5-inch)<br>iPad Pro (12.9-inch)<br>iPad Pro (12.9-inch) (2nd generation)<br>iPad Pro (9.7-inch) |
| iOS 12.0 | 10.0 | iPhone 5s<br>iPhone 6<br>iPhone 6 Plus<br>iPhone 6s<br>iPhone 6s Plus<br>iPhone 7<br>iPhone 7 Plus<br>iPhone 8<br>iPhone 8 Plus<br>iPhone SE<br>iPhone X<br>iPhone XR<br>iPhone XS<br>iPhone XS Max<br>iPad (5th generation)<br>iPad (6th generation)<br>iPad Air<br>iPad Air 2<br>iPad Pro (10.5-inch)<br>iPad Pro (12.9-inch)<br>iPad Pro (12.9-inch) (2nd generation)<br>iPad Pro (9.7-inch) |
| iOS 12.1 | 10.1 | iPhone 5s<br>iPhone 6<br>iPhone 6 Plus<br>iPhone 6s<br>iPhone 6s Plus<br>iPhone 7<br>iPhone 7 Plus<br>iPhone 8<br>iPhone 8 Plus<br>iPhone SE<br>iPhone X<br>iPhone XR<br>iPhone XS<br>iPhone XS Max<br>iPad (5th generation)<br>iPad (6th generation)<br>iPad Air<br>iPad Air 2<br>iPad Pro (10.5-inch)<br>iPad Pro (11-inch)<br>iPad Pro (12.9-inch)<br>iPad Pro (12.9-inch) (2nd generation)<br>iPad Pro (12.9-inch) (3rd generation)<br>iPad Pro (9.7-inch) |
| iOS 12.2 | 10.2<br>10.2.1 | iPhone 5s<br>iPhone 6<br>iPhone 6 Plus<br>iPhone 6s<br>iPhone 6s Plus<br>iPhone 7<br>iPhone 7 Plus<br>iPhone 8<br>iPhone 8 Plus<br>iPhone SE<br>iPhone X<br>iPhone XR<br>iPhone Xs<br>iPhone Xs Max<br>iPad (5th generation)<br>iPad (6th generation)<br>iPad Air<br>iPad Air (3rd generation)<br>iPad Air 2<br>iPad Pro (10.5-inch)<br>iPad Pro (11-inch)<br>iPad Pro (12.9-inch)<br>iPad Pro (12.9-inch) (2nd generation)<br>iPad Pro (12.9-inch) (3rd generation)<br>iPad Pro (9.7-inch) |
| iOS 12.4 | 10.3 | iPhone 5s<br>iPhone 6<br>iPhone 6 Plus<br>iPhone 6s<br>iPhone 6s Plus<br>iPhone 7<br>iPhone 7 Plus<br>iPhone 8<br>iPhone 8 Plus<br>iPhone SE<br>iPhone X<br>iPhone XR<br>iPhone Xs<br>iPhone Xs Max<br>iPad (5th generation)<br>iPad (6th generation)<br>iPad Air<br>iPad Air (3rd generation)<br>iPad Air 2<br>iPad Pro (10.5-inch)<br>iPad Pro (11-inch)<br>iPad Pro (12.9-inch)<br>iPad Pro (12.9-inch) (2nd generation)<br>iPad Pro (12.9-inch) (3rd generation)<br>iPad Pro (9.7-inch) |
| iOS 13.0 | 11.0 | iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPad Air (3rd generation)<br>iPad Pro (11-inch)<br>iPad Pro (12.9-inch) (3rd generation)<br>iPad Pro (9.7-inch) |
| iOS 13.1 | 11.1 | iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPad Air (3rd generation)<br>iPad Pro (11-inch)<br>iPad Pro (12.9-inch) (3rd generation)<br>iPad Pro (9.7-inch) |
| iOS 13.2 | 11.2<br>11.2.1 | iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPad (7th generation)<br>iPad Air (3rd generation)<br>iPad Pro (11-inch)<br>iPad Pro (12.9-inch) (3rd generation)<br>iPad Pro (9.7-inch) |
| iOS 13.3 | 11.3<br>11.3.1 | iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPad (7th generation)<br>iPad Air (3rd generation)<br>iPad Pro (11-inch)<br>iPad Pro (12.9-inch) (3rd generation)<br>iPad Pro (9.7-inch) |
| tvOS 11.4 | 9.4.1 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) |
| tvOS 12.0 | 10.0 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) |
| tvOS 12.1 | 10.1 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) |
| tvOS 12.2 | 10.2<br>10.2.1 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) |
| tvOS 12.4 | 10.3 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) |
| tvOS 13.0 | 11.0<br>11.1 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) |
| tvOS 13.2 | 11.2<br>11.2.1 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) |
| tvOS 13.3 | 11.3<br>11.3.1 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) |
| watchOS 4.3 | 9.4.1 | Apple Watch - 38mm<br>Apple Watch - 42mm<br>Apple Watch Series 2 - 38mm<br>Apple Watch Series 2 - 42mm<br>Apple Watch Series 3 - 38mm<br>Apple Watch Series 3 - 42mm |
| watchOS 5.0 | 10.0 | Apple Watch Series 2 - 38mm<br>Apple Watch Series 2 - 42mm<br>Apple Watch Series 3 - 38mm<br>Apple Watch Series 3 - 42mm<br>Apple Watch Series 4 - 40mm<br>Apple Watch Series 4 - 44mm |
| watchOS 5.1 | 10.1 | Apple Watch Series 2 - 38mm<br>Apple Watch Series 2 - 42mm<br>Apple Watch Series 3 - 38mm<br>Apple Watch Series 3 - 42mm<br>Apple Watch Series 4 - 40mm<br>Apple Watch Series 4 - 44mm |
| watchOS 5.2 | 10.2<br>10.2.1 | Apple Watch Series 2 - 38mm<br>Apple Watch Series 2 - 42mm<br>Apple Watch Series 3 - 38mm<br>Apple Watch Series 3 - 42mm<br>Apple Watch Series 4 - 40mm<br>Apple Watch Series 4 - 44mm |
| watchOS 5.3 | 10.3 | Apple Watch Series 2 - 38mm<br>Apple Watch Series 2 - 42mm<br>Apple Watch Series 3 - 38mm<br>Apple Watch Series 3 - 42mm<br>Apple Watch Series 4 - 40mm<br>Apple Watch Series 4 - 44mm |
| watchOS 6.0 | 11.0<br>11.1 | Apple Watch Series 4 - 40mm<br>Apple Watch Series 4 - 44mm<br>Apple Watch Series 5 - 40mm<br>Apple Watch Series 5 - 44mm |
| watchOS 6.1 | 11.2<br>11.2.1<br>11.3<br>11.3.1 | Apple Watch Series 4 - 40mm<br>Apple Watch Series 4 - 44mm<br>Apple Watch Series 5 - 40mm<br>Apple Watch Series 5 - 44mm |
### Android
| Package Name | Version |
| -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Android Command Line Tools | 4.0 |
| Android Emulator | 30.8.4 |
| Android SDK Build-tools | 31.0.0<br>30.0.0 30.0.1 30.0.2 30.0.3<br>29.0.0 29.0.1 29.0.2 29.0.3<br>28.0.0 28.0.1 28.0.2 28.0.3<br>27.0.0 27.0.1 27.0.2 27.0.3<br>26.0.0 26.0.1 26.0.2 26.0.3<br>25.0.0 25.0.1 25.0.2 25.0.3<br>24.0.0 24.0.1 24.0.2 24.0.3<br>23.0.1 23.0.2 23.0.3<br>22.0.1<br>21.1.2<br>20.0.0<br>19.1.0 |
| Android SDK Platforms | android-31 (rev 1)<br>android-30 (rev 3)<br>android-29 (rev 5)<br>android-28 (rev 6)<br>android-27 (rev 3)<br>android-26 (rev 2)<br>android-25 (rev 3)<br>android-24 (rev 2)<br>android-23 (rev 3)<br>android-22 (rev 2)<br>android-21 (rev 2)<br>android-20 (rev 2)<br>android-19 (rev 4)<br>android-18 (rev 3)<br>android-17 (rev 3)<br>android-16 (rev 5)<br>android-15 (rev 5) |
| Android SDK Platform-Tools | 31.0.3 |
| Android Support Repository | 47.0.0 |
| CMake | 3.10.2<br>3.18.1 |
| Google APIs | addon-google_apis-google-21<br>addon-google_apis-google-22<br>addon-google_apis-google-23<br>addon-google_apis-google-24 |
| Google Play services | 49 |
| Google Repository | 58 |
| NDK | 15.2.4203891<br>18.1.5063045<br>21.4.7075529 (default)<br>22.1.7171670<br>23.0.7599858 |
| SDK Patch Applier v4 | 1 |
| Intel HAXM | 7.6.5 |
#### Environment variables
| Name | Value |
| ----------------------- | -------------------------------------------------------------------------------------------------- |
| ANDROID_HOME | /Users/runner/Library/Android/sdk |
| ANDROID_NDK_18R_PATH | /Users/runner/Library/Android/sdk/ndk/18.1.5063045 |
| ANDROID_NDK_HOME | /Users/runner/Library/Android/sdk/ndk-bundle -> /Users/runner/Library/Android/sdk/ndk/21.4.7075529 |
| ANDROID_NDK_LATEST_HOME | /Users/runner/Library/Android/sdk/ndk/23.0.7599858 |
| ANDROID_NDK_ROOT | /Users/runner/Library/Android/sdk/ndk-bundle -> /Users/runner/Library/Android/sdk/ndk/21.4.7075529 |
| ANDROID_SDK_ROOT | /Users/runner/Library/Android/sdk |

View File

@@ -29,7 +29,7 @@ fi
# sudo security delete-certificate -Z FF6797793A3CD798DC5B2ABEF56F73EDC9F83A64 /Library/Keychains/System.keychain
curl https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer --output $HOME/AppleWWDRCAG3.cer --silent
# Big Sur requires user interaction to add a cert https://developer.apple.com/forums/thread/671582, we need to use a workaround with SecItemAdd swift method
if is_Less_BigSur; then
if is_Catalina; then
sudo security add-trusted-cert -d -r unspecified -k /Library/Keychains/System.keychain $HOME/AppleWWDRCAG3.cer
else
swiftc $HOME/image-generation/add-certificate.swift

View File

@@ -5,7 +5,7 @@ source ~/utils/utils.sh
# Close all finder windows because they can interfere with UI tests
osascript -e 'tell application "Finder" to close windows'
if is_Less_BigSur; then
if is_Catalina; then
# Ignore available updates to prevent system pop-ups
updateName=$(softwareupdate -l | grep "Title: " | awk -F[:,] '{print $2}' | awk '{$1=$1};1') || true
if [ ! -z "$updateName" ]; then

View File

@@ -8,7 +8,7 @@ os_name=$(sw_vers -productName)
os_version=$(sw_vers -productVersion)
os_build=$(sw_vers -buildVersion)
label_version=$(echo $os_version | cut -d. -f1,2)
if is_Less_BigSur; then
if is_Catalina; then
label_version=$(echo $os_version | cut -d. -f1,2)
else
label_version=$(echo $os_version | cut -d. -f1)

View File

@@ -93,7 +93,7 @@ done
# The Android Emulator uses the built-in Hypervisor.Framework by default, and falls back to using Intel HAXM if Hypervisor.Framework fails to initialize
# https://developer.android.com/studio/run/emulator-acceleration#vm-mac
# The installation doesn't work properly on macOS Big Sur, /dev/HAX is not created
if is_Less_BigSur; then
if is_Catalina; then
chmod +x $ANDROID_HOME/extras/intel/Hardware_Accelerated_Execution_Manager/silent_install.sh
sudo $ANDROID_HOME/extras/intel/Hardware_Accelerated_Execution_Manager/silent_install.sh
fi

View File

@@ -9,7 +9,7 @@ brew_smart_install "sox"
# Big Sur doesn't support soundflower installation without user interaction https://github.com/mattingalls/Soundflower/releases/tag/2.0b2
# Install blackhole-2ch for Big Sur instead
if is_Less_BigSur; then
if is_Catalina; then
echo "install soundflower"
brew install --cask soundflower

View File

@@ -16,12 +16,6 @@ for package in $cask_packages; do
brew install --cask $package
done
# Specify Bazel version 3.7.1 to install due to the bug with 4.0.0: https://github.com/bazelbuild/bazel/pull/12882
if is_Less_Catalina; then
export USE_BAZEL_VERSION="3.7.1"
echo "export USE_BAZEL_VERSION=${USE_BAZEL_VERSION}" >> "${HOME}/.bashrc"
fi
# Invoke bazel to download bazel version via bazelisk
bazel

View File

@@ -22,21 +22,11 @@ DOTNET_VERSIONS=($(get_toolset_value '.dotnet.versions | .[]'))
for DOTNET_VERSION in "${DOTNET_VERSIONS[@]}"; do
RELEASE_URL="https://raw.githubusercontent.com/dotnet/core/master/release-notes/${DOTNET_VERSION}/releases.json"
# Old Mono versions don't support NuGet versions from .Net sdk >=2.1.6**, exclude them explicitly from Mojave and HS images
# https://rider-support.jetbrains.com/hc/en-us/articles/360004180039
if is_Less_Catalina; then
ARGS_LIST+=(
$(curl -s "$RELEASE_URL" | \
jq -r '.releases[].sdk."version"' | grep -v -E '\-(preview|rc)\d*' | grep -v -E '2.1.[6-9]\d*' | \
sort -r | rev | uniq -s 2 | rev)
)
else
ARGS_LIST+=(
$(curl -s "$RELEASE_URL" | \
jq -r '.releases[].sdk."version"' | grep -v -E '\-(preview|rc)\d*' | \
sort -r | rev | uniq -s 2 | rev)
)
fi
done
for ARGS in "${ARGS_LIST[@]}"; do

View File

@@ -1,22 +1,11 @@
#!/bin/bash -e -o pipefail
source ~/utils/utils.sh
if is_Less_Catalina; then
echo Installing the latest Node JS 8...
TMP_FILE=/tmp/node-v8.17.0.pkg
NODEURL=https://nodejs.org/dist/latest-v8.x/node-v8.17.0.pkg
download_with_retries $NODEURL "/tmp"
sudo installer -pkg "${TMP_FILE}" -target /
rm -rf "${TMP_FILE}"
sudo chown -R $USER "/usr/local/lib/node_modules"
else
# Install default Node.js for macOS >= 10.15
defaultVersion=$(get_toolset_value '.node.default')
echo "Installing Node.js $defaultVersion"
brew_smart_install "node@$defaultVersion"
brew link node@$defaultVersion --force
fi
echo Installing yarn...
curl -o- -L https://yarnpkg.com/install.sh | bash

View File

@@ -79,7 +79,7 @@ done
# Big Sur or newer does not have these versions of Adopt.
# Also hardcode these versions as they only exist for Adopt
if is_Less_BigSur; then
if is_Catalina; then
for adoptVersionToInstall in 12 13 14; do
createEnvironmentVariable ${adoptVersionToInstall} "Adopt"
done

View File

@@ -7,7 +7,7 @@ psDownloadUrl=$(echo $psRelease | jq -r '.assets[].browser_download_url | select
download_with_retries $psDownloadUrl "/tmp" "powershell.pkg"
# Work around the issue on macOS Big Sur 11.5 or higher for possible error message ("can't be opened because Apple cannot check it for malicious software") when installing the package
if ! is_Less_BigSur; then
if ! is_Catalina; then
sudo xattr -rd com.apple.quarantine /tmp/powershell.pkg
fi

View File

@@ -64,17 +64,11 @@ createBundleLink $CURRENT_SDK_SYMLINK "Current"
# Fix nuget in some mono versions because of known bugs
#
if is_Less_BigSur; then
if is_Catalina; then
# Fix Mono issue with default nuget: https://github.com/mono/mono/issues/17637
installNuget "6.4.0" "5.3.1"
fi
if is_Less_Catalina; then
installNuget "4.8.1" "4.3.0"
installNuget "5.0.1" "4.3.0"
installNuget "5.2.0" "4.3.0"
fi
# Creating UWP Shim to hack UWP build failure
createUWPShim

View File

@@ -32,10 +32,6 @@ $xcodeVersions | ForEach-Object -ThrottleLimit $threadCount -Parallel {
}
Write-Host "Configuring Xcode versions..."
if ($os.IsLessThanCatalina) {
$latestXcodeVersion = $xcodeVersions | Select-Object -Last 1 -ExpandProperty link
Install-XcodeAdditionalPackages -Version $latestXcodeVersion
}
$xcodeVersions | ForEach-Object {
Invoke-XcodeRunFirstLaunch -Version $_.link
}

View File

@@ -63,32 +63,8 @@ is_Catalina() {
fi
}
is_Mojave() {
if [ "$OSTYPE" = "darwin18" ]; then
true
else
false
fi
}
is_Less_Catalina() {
if is_Mojave; then
true
else
false
fi
}
is_Less_BigSur() {
if is_Mojave || is_Catalina; then
true
else
false
fi
}
is_Less_Monterey() {
if is_Mojave || is_Catalina || is_BigSur; then
if is_Catalina || is_BigSur; then
true
else
false
@@ -124,9 +100,7 @@ brew_cask_install_ignoring_sha256() {
}
get_brew_os_keyword() {
if is_Mojave; then
echo "mojave"
elif is_Catalina; then
if is_Catalina; then
echo "catalina"
elif is_BigSur; then
echo "big_sur"

View File

@@ -177,7 +177,7 @@ function Get-AndroidGoogleAPIsVersions {
function Get-AndroidNDKVersions {
$os = Get-OSVersion
if ($os.IsLessThanBigSur) {
if ($os.IsCatalina) {
# Hardcode NDK 15 as a separate case since it is installed manually without sdk-manager (to none default location)
$versions = @()
$versions += "15.2.4203891"

View File

@@ -50,7 +50,7 @@ $languageAndRuntimeList = @(
(Get-FortranVersion)
)
if ($os.IsLessThanBigSur) {
if ($os.IsCatalina) {
$languageAndRuntimeList += @(
(Get-RVersion)
)
@@ -74,7 +74,8 @@ $packageManagementList = @(
(Get-NuGetVersion),
(Get-RubyGemsVersion),
(Get-ComposerVersion),
(Get-CarthageVersion)
(Get-CarthageVersion),
(Get-VcpkgVersion)
)
if ($os.IsLessThanMonterey) {
@@ -83,12 +84,6 @@ if ($os.IsLessThanMonterey) {
)
}
if ($os.IsHigherThanMojave) {
$packageManagementList += @(
(Get-VcpkgVersion)
)
}
$markdown += New-MDList -Style Unordered -Lines ($packageManagementList | Sort-Object)
if ($os.IsLessThanMonterey) {
$markdown += New-MDHeader "Environment variables" -Level 4
@@ -141,13 +136,13 @@ if ($os.IsLessThanMonterey) {
)
}
if ($os.IsHigherThanMojave -and $os.IsLessThanMonterey) {
if ($os.IsLessThanMonterey) {
$utilitiesList += @(
(Get-NewmanVersion)
)
}
if ($os.IsLessThanBigSur) {
if ($os.IsCatalina) {
$utilitiesList += @(
(Get-VirtualBoxVersion),
(Get-VagrantVersion),
@@ -245,9 +240,8 @@ $markdown += Get-PowerShellModules | New-MDTable
$markdown += New-MDNewLine
# Web Servers
if ($os.IsHigherThanMojave) {
$markdown += Build-WebServersSection
}
# Xamarin section
$markdown += New-MDHeader "Xamarin" -Level 3
@@ -282,7 +276,7 @@ $markdown += New-MDNewLine
# Android section
$markdown += New-MDHeader "Android" -Level 3
$androidTable = Build-AndroidTable
if ($os.IsLessThanBigSur) {
if ($os.IsCatalina) {
$androidTable += Get-IntelHaxmVersion
}
$markdown += $androidTable | New-MDTable

View File

@@ -246,7 +246,7 @@ function Build-XcodeSupportToolsSection {
)
}
if ($os.IsLessThanBigSur) {
if ($os.IsCatalina) {
$xctool = Run-Command "xctool --version"
$toolList += @(
"xctool $xctool"

View File

@@ -1,229 +0,0 @@
{
"variables": {
"vcenter_server": null,
"vcenter_username": null,
"vcenter_password": null,
"vcenter_datacenter": null,
"cluster_or_esxi_host": null,
"esxi_datastore": null,
"build_id": null,
"baseimage_name": null,
"output_folder": null,
"vm_username": null,
"vm_password": null,
"xcode_install_user": null,
"xcode_install_password": null,
"image_os": "macos1014"
},
"builders": [
{
"type": "vsphere-clone",
"vcenter_server": "{{user `vcenter_server`}}",
"username": "{{user `vcenter_username`}}",
"password": "{{user `vcenter_password`}}",
"insecure_connection": true,
"datacenter": "{{ user `vcenter_datacenter` }}",
"template": "{{ user `baseimage_name` }}",
"folder": "{{user `output_folder` }}",
"host": "{{user `cluster_or_esxi_host`}}",
"datastore": "{{user `esxi_datastore`}}",
"vm_name": "{{user `build_id`}}",
"ssh_username": "{{user `vm_username`}}",
"ssh_password": "{{user `vm_password`}}",
"CPUs": "10",
"RAM": "24576",
"NestedHV": "true",
"shutdown_timeout": "15m"
}
],
"provisioners": [
{
"type": "shell",
"inline": "mkdir ~/image-generation"
},
{
"type": "file",
"source": "./provision/assets",
"destination": "~/image-generation/"
},
{
"type": "file",
"source": "./tests",
"destination": "~/image-generation/"
},
{
"type": "file",
"source": "./software-report",
"destination": "~/image-generation/"
},
{
"type": "file",
"source": "./helpers",
"destination": "~/image-generation/"
},
{
"type": "file",
"source": "./provision/configuration/environment/bashrc",
"destination": "~/.bashrc"
},
{
"type": "file",
"source": "./provision/configuration/environment/bashprofile",
"destination": "~/.bash_profile"
},
{
"type": "file",
"source": "./provision/utils",
"destination": "~/"
},
{
"type": "file",
"source": "./provision/bootstrap-provisioner",
"destination": "~/bootstrap"
},
{
"type": "file",
"source": "./toolsets/toolset-10.14.json",
"destination": "~/image-generation/toolset.json"
},
{
"type": "shell",
"execute_command": "chmod +x {{ .Path }}; sudo {{ .Vars }} {{ .Path }}",
"scripts": [
"./provision/configuration/add-network-interface-detection.sh",
"./provision/configuration/autologin.sh",
"./provision/configuration/disable-auto-updates.sh",
"./provision/configuration/screensaver-off.sh",
"./provision/configuration/ntpconf.sh",
"./provision/configuration/max-files.sh"
],
"environment_vars": [
"PASSWORD={{user `vm_password`}}",
"USERNAME={{user `vm_username`}}"
]
},
{
"type": "shell",
"execute_command": "chmod +x {{ .Path }}; {{ .Vars }} {{ .Path }}",
"scripts": [
"./provision/configuration/preimagedata.sh",
"./provision/configuration/configure-ssh.sh",
"./provision/configuration/configure-machine.sh"
],
"environment_vars": [
"IMAGE_VERSION={{user `build_id`}}",
"IMAGE_OS={{user `image_os`}}"
]
},
{
"type": "shell",
"execute_command": "chmod +x {{ .Path }}; sudo {{ .Vars }} {{ .Path }}",
"script": "./provision/core/reboot.sh",
"expect_disconnect": true
},
{
"type": "shell",
"execute_command": "chmod +x {{ .Path }}; {{ .Vars }} {{ .Path }}",
"pause_before": "30s",
"scripts": [
"./provision/core/xcode-clt.sh",
"./provision/core/homebrew.sh",
"./provision/core/powershell.sh",
"./provision/core/dotnet.sh",
"./provision/core/python.sh",
"./provision/core/azcopy.sh",
"./provision/core/openssl.sh",
"./provision/core/ruby.sh",
"./provision/core/rubygem.sh",
"./provision/core/git.sh",
"./provision/core/node.sh"
]
},
{
"type": "shell",
"execute_command": "chmod +x {{ .Path }}; {{ .Vars }} pwsh -f {{ .Path }}",
"script": "./provision/core/xcode.ps1",
"environment_vars": [
"XCODE_INSTALL_USER={{user `xcode_install_user`}}",
"XCODE_INSTALL_PASSWORD={{user `xcode_install_password`}}"
]
},
{
"type": "shell",
"execute_command": "chmod +x {{ .Path }}; sudo {{ .Vars }} {{ .Path }}",
"script": "./provision/core/reboot.sh",
"expect_disconnect": true
},
{
"type": "shell",
"execute_command": "chmod +x {{ .Path }}; {{ .Vars }} {{ .Path }}",
"scripts": [
"./provision/core/commonutils.sh",
"./provision/core/golang.sh",
"./provision/core/swiftlint.sh",
"./provision/core/openjdk.sh",
"./provision/core/php.sh",
"./provision/core/aws.sh",
"./provision/core/rust.sh",
"./provision/core/gcc.sh",
"./provision/core/haskell.sh",
"./provision/core/stack.sh",
"./provision/core/cocoapods.sh",
"./provision/core/android-toolsets.sh",
"./provision/core/xamarin.sh",
"./provision/core/xamarin-android-ndk.sh",
"./provision/core/vsmac.sh",
"./provision/core/nvm.sh",
"./provision/core/postgresql.sh",
"./provision/core/mongodb.sh",
"./provision/core/audiodevice.sh",
"./provision/core/safari.sh",
"./provision/core/chrome.sh",
"./provision/core/edge.sh",
"./provision/core/firefox.sh",
"./provision/core/miniconda.sh",
"./provision/core/xcode-sims.sh",
"./provision/core/xcode-postbuild.sh",
"./provision/core/pypy.sh",
"./provision/core/pipx-packages.sh",
"./provision/core/bicep.sh"
]
},
{
"type": "shell",
"execute_command": "chmod +x {{ .Path }}; {{ .Vars }} pwsh -f {{ .Path }}",
"scripts": [
"./provision/core/toolset.ps1",
"./provision/core/configure-toolset.ps1"
]
},
{
"type": "shell",
"execute_command": "ruby {{ .Path }}",
"scripts": [
"./provision/core/delete-duplicate-sims.rb"
]
},
{
"type": "shell",
"inline": [
"pwsh -File \"$HOME/image-generation/software-report/SoftwareReport.Generator.ps1\" -OutputDirectory \"$HOME/image-generation/output/software-report\" -ImageName {{user `build_id`}}",
"pwsh -File \"$HOME/image-generation/tests/RunAll-Tests.ps1\""
]
},
{
"type": "file",
"direction": "download",
"source": "~/image-generation/output/*",
"destination": "../image-output/"
},
{
"type": "shell",
"execute_command": "chmod +x {{ .Path }}; {{ .Vars }} {{ .Path }}",
"scripts": [
"./provision/configuration/configure-hostname.sh",
"./provision/configuration/finalize-vm.sh"
]
}
]
}

View File

@@ -33,7 +33,7 @@ Describe "GCC" {
}
}
Describe "vcpkg" -Skip:($os.IsMojave) {
Describe "vcpkg" {
It "vcpkg" {
"vcpkg version" | Should -ReturnZeroExitCode
}

View File

@@ -30,7 +30,7 @@ Describe "Audio device" {
SwitchAudioSource -c | Should -BeLikeExactly "Soundflower (2ch)"
}
It "Audio channel BlackHole 2ch" -Skip:($os.IsLessThanBigSur) {
It "Audio channel BlackHole 2ch" -Skip:($os.IsCatalina) {
SwitchAudioSource -c | Should -BeLikeExactly "BlackHole 2ch"
}
}

View File

@@ -1,6 +1,6 @@
$os = Get-OSVersion
Describe "Apache" -Skip:($os.IsLessThanCatalina) {
Describe "Apache" {
It "Apache CLI" {
"httpd -v" | Should -ReturnZeroExitCode
}
@@ -10,7 +10,7 @@ Describe "Apache" -Skip:($os.IsLessThanCatalina) {
}
}
Describe "Nginx" -Skip:($os.IsLessThanCatalina) {
Describe "Nginx" {
It "Nginx CLI" {
"nginx -v" | Should -ReturnZeroExitCode
}

View File

@@ -1,390 +0,0 @@
{
"xcode": {
"default": "11.3.1",
"versions": [
{ "link": "11.3.1", "version": "11.3.1", "symlinks": ["11.3.1_beta"] },
{ "link": "11.3", "version": "11.3.0", "symlinks": ["11.3_beta"] },
{ "link": "11.2.1", "version": "11.2.1", "symlinks": ["11.2.1_beta"] },
{ "link": "11.2", "version": "11.2.0", "symlinks": ["11.2_beta"] },
{ "link": "11.1", "version": "11.1.0", "symlinks": ["11.1_beta"] },
{ "link": "11", "version": "11.0.0", "symlinks": ["11_beta"] },
{ "link": "10.3", "version": "10.3.0", "symlinks": ["10.3_beta"] },
{ "link": "10.2.1", "version": "10.2.1", "symlinks": ["10.2.1_beta"] },
{ "link": "10.2", "version": "10.2.0", "symlinks": ["10.2_beta"] },
{ "link": "10.1", "version": "10.1.0", "symlinks": ["10.1_beta"] },
{ "link": "10", "version": "10.0.0", "symlinks": ["10_beta"] },
{ "link": "9.4.1", "version": "9.4.1" }
]
},
"xamarin": {
"vsmac": "8.5.0.3183",
"mono-versions": [
"6.8.0.123", "6.6.0.166", "6.4.0.208", "6.0.0.334", "5.18.1.3", "5.16.1.0", "5.12.0.309", "5.10.1.57", "5.8.1.0", "5.4.1.7", "5.2.0.224", "5.0.1.1", "4.8.1.0"
],
"ios-versions": [
"13.14.1.39", "13.10.0.21", "13.8.3.0", "13.6.0.12", "13.4.0.2", "13.2.0.47", "12.14.0.114", "12.10.0.157", "12.8.0.2", "12.6.0.25", "12.2.1.16", "12.0.0.15", "11.14.0.13", "11.12.0.4", "11.9.1.24", "11.8.0.20", "11.6.1.4", "11.2.0.11", "11.0.0.0", "10.10.0.36", "10.6.0.10"
],
"mac-versions": [
"6.14.1.39", "6.10.0.21", "6.8.3.0", "6.6.0.12", "6.4.0.2", "6.2.0.47", "5.16.1.24", "5.10.0.157", "5.8.0.0", "5.6.0.25", "5.3.1.28", "5.2.1.16" , "4.6.0.13", "4.4.1.193", "4.2.1.28", "4.0.0.216", "3.8.0.49", "3.6.3.3", "3.4.0.36", "3.0.0.398"
],
"android-versions": [
"10.2.0.100", "10.1.3.7", "10.0.6.2", "9.4.1.0", "9.3.0-23", "9.2.3-0", "9.1.8-0", "9.0.0-20", "8.3.3-2", "8.2.0-16", "8.1.5-0", "8.0.0-33", "7.4.5-1", "7.3.1-2", "7.1.0-43"
],
"bundle-default": "5_12_0",
"bundles": [
{
"symlink": "6_8_0",
"mono": "6.8",
"ios": "13.14",
"mac": "6.14",
"android": "10.2"
},
{
"symlink": "6_6_1",
"mono": "6.6",
"ios": "13.10",
"mac": "6.10",
"android": "10.1"
},
{
"symlink": "6_6_0",
"mono": "6.6",
"ios": "13.8",
"mac": "6.8",
"android": "10.1"
},
{
"symlink": "6_4_2",
"mono": "6.4",
"ios": "13.6",
"mac": "6.6",
"android": "10.0"
},
{
"symlink": "6_4_1",
"mono": "6.4",
"ios": "13.4",
"mac": "6.4",
"android": "10.0"
},
{
"symlink": "6_4_0",
"mono": "6.4",
"ios": "13.2",
"mac": "6.2",
"android": "10.0"
},
{
"symlink": "6_0_0",
"mono": "6.0",
"ios": "12.14",
"mac": "5.16",
"android": "9.4"
},
{
"symlink": "5_18_3",
"mono": "5.18",
"ios": "12.10",
"mac": "5.10",
"android": "9.3"
},
{
"symlink": "5_18_2",
"mono": "5.18",
"ios": "12.8",
"mac": "5.8",
"android": "9.2"
},
{
"symlink": "5_18_1",
"mono": "5.18",
"ios": "12.6",
"mac": "5.6",
"android": "9.2"
},
{
"symlink": "5_16_0_0",
"mono": "5.16",
"ios": "12.2",
"mac": "5.2",
"android": "9.1"
},
{
"symlink": "5_16_0",
"mono": "5.16",
"ios": "12.2",
"mac": "5.2",
"android": "9.1"
},
{
"symlink": "5_12_0_3",
"mono": "5.12",
"ios": "12.2",
"mac": "5.3",
"android": "9.0"
},
{
"symlink": "5_12_0_XC10_PRE",
"mono": "5.12",
"ios": "12.0",
"mac": "5.2",
"android": "9.0"
},
{
"symlink": "5_12_0",
"mono": "5.12",
"ios": "11.14",
"mac": "4.6",
"android": "9.0"
},
{
"symlink": "5_10_1",
"mono": "5.10",
"ios": "11.12",
"mac": "4.4",
"android": "8.3"
},
{
"symlink": "5_8_1",
"mono": "5.8",
"ios": "11.9",
"mac": "4.2",
"android": "8.2"
},
{
"symlink": "5_8_0",
"mono": "5.8",
"ios": "11.8",
"mac": "4.2",
"android": "8.2"
},
{
"symlink": "5_4_1",
"mono": "5.4",
"ios": "11.6",
"mac": "4.0",
"android": "8.1"
},
{
"symlink": "5_4_0",
"mono": "5.4",
"ios": "11.2",
"mac": "3.8",
"android": "8.0"
},
{
"symlink": "5_2_0",
"mono": "5.2",
"ios": "11.0",
"mac": "3.6",
"android": "7.4"
},
{
"symlink": "Legacy_5_0_1",
"mono": "5.0",
"ios": "10.10",
"mac": "3.4",
"android": "7.3"
},
{
"symlink": "Legacy_4_8_1",
"mono": "4.8",
"ios": "10.6",
"mac": "3.0",
"android": "7.1"
}
]
},
"java": {
"default": "8",
"default_vendor": "Temurin-Hotspot",
"vendors": [
{
"name": "Temurin-Hotspot",
"versions": [ "8", "11", "17" ]
},
{
"name": "Adopt",
"versions": [ "8", "11", "12", "13", "14" ]
}
]
},
"android": {
"platform_min_version": "15",
"build_tools_min_version": "17.0.0",
"extra-list": [
"android;m2repository", "google;m2repository", "google;google_play_services", "intel;Hardware_Accelerated_Execution_Manager", "m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta1", "m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta2", "m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta3", "m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta4", "m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta5", "m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0", "m2repository;com;android;support;constraint;constraint-layout-solver;1.0.1", "m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2", "m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta1", "m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta2", "m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta3", "m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta4", "m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta5", "m2repository;com;android;support;constraint;constraint-layout;1.0.0", "m2repository;com;android;support;constraint;constraint-layout;1.0.1", "m2repository;com;android;support;constraint;constraint-layout;1.0.2"
],
"addon-list": [
"addon-google_apis-google-24", "addon-google_apis-google-23", "addon-google_apis-google-22", "addon-google_apis-google-21"
],
"additional-tools": [
"cmake;3.10.2.4988404",
"cmake;3.18.1"
],
"ndk": {
"default": "21",
"versions": [
"21", "22", "23"
]
}
},
"powershellModules": [
{
"name": "Az",
"versions": [
"6.1.0"
]
},
{"name": "MarkdownPS"},
{"name": "Pester"},
{"name": "PSScriptAnalyzer"}
],
"npm": {
"global_packages": [
{ "name": "npm@3" },
{ "name": "omelette@0.4.14" },
{ "name": "appcenter-cli@^1.0.0", "test": "appcenter --version" },
{ "name": "node-gyp" }
]
},
"brew": {
"common_packages": [
"aliyun-cli",
"ant",
"aria2",
"azure-cli",
"bats",
"bazelisk",
"carthage",
"cmake",
"gh",
"gnupg",
"gnu-tar",
"helm",
"kotlin",
"libpq",
"llvm",
"p7zip",
"packer",
"parallel",
"perl",
"sbt",
"subversion",
"swiftformat",
"swig",
"xctool",
"zstd"
],
"cask_packages": [
"julia",
"r",
"vagrant",
"virtualbox"
]
},
"gcc": {
"versions": [
"9",
"10",
"11"
]
},
"toolcache": [
{
"name": "Python",
"url" : "https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json",
"arch": "x64",
"platform" : "darwin",
"versions": [
"2.7.*",
"3.5.*",
"3.6.*",
"3.7.*",
"3.8.*",
"3.9.*",
"3.10.*"
]
},
{
"name": "PyPy",
"arch": "x64",
"platform" : "darwin",
"versions": [
"2.7",
"3.6"
]
},
{
"name": "Node",
"url" : "https://raw.githubusercontent.com/actions/node-versions/main/versions-manifest.json",
"platform" : "darwin",
"arch": "x64",
"versions": [
"10.*",
"12.*",
"14.*"
]
},
{
"name": "Go",
"url" : "https://raw.githubusercontent.com/actions/go-versions/main/versions-manifest.json",
"arch": "x64",
"platform" : "darwin",
"variable_template" : "GOROOT_{0}_{1}_X64",
"versions": [
"1.15.*",
"1.16.*",
"1.17.*"
]
},
{
"name": "Ruby",
"arch": "x64",
"versions": [
"2.4.*",
"2.5.*",
"2.6.*",
"2.7.*",
"3.0.*"
]
}
],
"pipx": [
{
"package": "yamllint",
"cmd": "yamllint --version"
}
],
"dotnet": {
"versions": [
"2.1"
]
},
"ruby": {
"default": "2.7",
"rubygems": [
"xcode-install",
"cocoapods",
"nomad-cli",
"xcpretty",
"bundler",
"fastlane",
"jazzy"
]
},
"go": {
"default": "1.15"
},
"node": {
"default": "8",
"nvm_versions": [
"10",
"12",
"14"
]
},
"mongodb": {
"version": "5.0"
}
}