mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
[macos] remove GraalVM (#7398)
This commit is contained in:
committed by
GitHub
parent
07662e65ba
commit
a2308e8518
@@ -119,7 +119,7 @@ We use third-party package managers to install software during the image generat
|
||||
| Ubuntu | [APT](https://wiki.debian.org/Apt) | [Eclipse-Timurin (Adoptium)](https://packages.adoptium.net/artifactory/deb) </br> [Erlang](https://packages.erlang-solutions.com/ubuntu) </br>[Firefox](https://launchpad.net/~mozillateam/+archive/ubuntu/ppa) </br> [gcc, gfortran](https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test) </br> [git](https://launchpad.net/~git-core/+archive/ubuntu/ppa) </br> [HHvm](https://dl.hhvm.com/ubuntu) </br> [PHP](https://launchpad.net/~ondrej/+archive/ubuntu/php) (Ubuntu 20 only) </br> [Mono](https://download.mono-project.com/repo/ubuntu) </br> [PostgreSQL](https://apt.postgresql.org/pub/repos/apt) </br> [R](https://cloud.r-project.org/bin/linux/ubuntu) |
|
||||
| | [pipx](https://pypa.github.io/pipx) | ansible-core </br>yamllint |
|
||||
| Windows | [Chocolatey](https://chocolatey.org) | No third-party repos installed |
|
||||
| macOS | [Homebrew](https://homebrew.sh) | [aws-cli v2](https://github.com/aws/homebrew-tap) </br> [azure/bicep](https://github.com/Azure/homebrew-bicep) </br> [graalvm-ce-java11](https://github.com/graalvm/homebrew-tap) </br> [mongodb/brew](https://github.com/mongodb/homebrew-brew) |
|
||||
| macOS | [Homebrew](https://homebrew.sh) | [aws-cli v2](https://github.com/aws/homebrew-tap) </br> [azure/bicep](https://github.com/Azure/homebrew-bicep) </br> [mongodb/brew](https://github.com/mongodb/homebrew-brew) |
|
||||
| | [pipx](https://pypa.github.io/pipx/) | yamllint |
|
||||
|
||||
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
#!/bin/bash -e -o pipefail
|
||||
source ~/utils/utils.sh
|
||||
|
||||
echo Installing GraalVM...
|
||||
brew install --cask graalvm/tap/graalvm-ce-java11
|
||||
|
||||
exportPath=$(echo /Library/Java/JavaVirtualMachines/graalvm-ce-java*/Contents/Home/bin)
|
||||
echo "Setting up GRAALVM_11_ROOT variable to ${exportPath}"
|
||||
echo "export GRAALVM_11_ROOT=${exportPath}" >> "${HOME}/.bashrc"
|
||||
|
||||
# Install Native Image
|
||||
$exportPath/gu install native-image
|
||||
|
||||
invoke_tests "Common" "GraalVM"
|
||||
@@ -613,21 +613,6 @@ function Build-MiscellaneousEnvironmentTable {
|
||||
}
|
||||
}
|
||||
|
||||
function Get-GraalVMVersion {
|
||||
$version = & "$env:GRAALVM_11_ROOT\java" --version | Select-String -Pattern "GraalVM" | Take-Part -Part 5,6
|
||||
return $version
|
||||
}
|
||||
|
||||
function Build-GraalVMTable {
|
||||
$version = Get-GraalVMVersion
|
||||
$envVariables = "GRAALVM_11_ROOT"
|
||||
|
||||
return [PSCustomObject] @{
|
||||
"Version" = $version
|
||||
"Environment variables" = $envVariables
|
||||
}
|
||||
}
|
||||
|
||||
function Get-CodeQLBundleVersions {
|
||||
$CodeQLVersionsWildcard = Join-Path $Env:AGENT_TOOLSDIRECTORY -ChildPath "CodeQL" | Join-Path -ChildPath "*"
|
||||
$CodeQLVersionPaths = Get-ChildItem $CodeQLVersionsWildcard
|
||||
|
||||
@@ -187,10 +187,6 @@ $java = $installedSoftware.AddHeader("Java")
|
||||
$java.AddTable($(Get-JavaVersions))
|
||||
|
||||
if (-not $os.IsVentura) {
|
||||
# Graal
|
||||
$graalvm = $installedSoftware.AddHeader("GraalVM")
|
||||
$graalvm.AddTable($(Build-GraalVMTable))
|
||||
|
||||
# Toolcache
|
||||
$toolcache = $installedSoftware.AddHeader("Cached Tools")
|
||||
$toolcache.AddNodes($(Build-ToolcacheSection))
|
||||
|
||||
@@ -225,7 +225,6 @@ build {
|
||||
"./provision/core/pypy.sh",
|
||||
"./provision/core/pipx-packages.sh",
|
||||
"./provision/core/bicep.sh",
|
||||
"./provision/core/graalvm.sh",
|
||||
"./provision/core/codeql-bundle.sh"
|
||||
]
|
||||
environment_vars = [
|
||||
|
||||
@@ -212,7 +212,6 @@
|
||||
"./provision/core/pypy.sh",
|
||||
"./provision/core/pipx-packages.sh",
|
||||
"./provision/core/bicep.sh",
|
||||
"./provision/core/graalvm.sh",
|
||||
"./provision/core/codeql-bundle.sh"
|
||||
],
|
||||
"environment_vars": [
|
||||
|
||||
@@ -226,7 +226,6 @@ build {
|
||||
"./provision/core/pypy.sh",
|
||||
"./provision/core/pipx-packages.sh",
|
||||
"./provision/core/bicep.sh",
|
||||
"./provision/core/graalvm.sh",
|
||||
"./provision/core/codeql-bundle.sh"
|
||||
]
|
||||
environment_vars = [
|
||||
|
||||
@@ -213,7 +213,6 @@
|
||||
"./provision/core/pypy.sh",
|
||||
"./provision/core/pipx-packages.sh",
|
||||
"./provision/core/bicep.sh",
|
||||
"./provision/core/graalvm.sh",
|
||||
"./provision/core/codeql-bundle.sh"
|
||||
],
|
||||
"environment_vars": [
|
||||
|
||||
@@ -123,16 +123,6 @@ Describe "Go" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "GraalVM" {
|
||||
It "graalvm" {
|
||||
'$GRAALVM_11_ROOT/java -version' | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
It "native-image" {
|
||||
'$GRAALVM_11_ROOT/native-image --version' | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "VirtualBox" -Skip:($os.IsBigSur) {
|
||||
It "Check kext kernel modules" {
|
||||
kextstat | Out-String | Should -Match "org.virtualbox.kext"
|
||||
|
||||
Reference in New Issue
Block a user