Skip to content

Commit

Permalink
Add macOS 15 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo98 committed Aug 30, 2024
1 parent 5718dab commit e96d6c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions src/job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@ def orka_setup_timeout?
end

def queue_type
if arm64?
os_version = os.partition("-").first
if arm64? || os_version >= "15"
QueueTypes::MACOS_ARM64
elsif os.partition("-").first < "13"
elsif os_version < "13"
QueueTypes::MACOS_X86_64_LEGACY
else
QueueTypes::MACOS_X86_64
Expand Down
5 changes: 2 additions & 3 deletions src/orka_start_processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ class OrkaStartProcessor < ThreadRunner
"13-arm64" => "ventura-arm64",
"14-x86_64" => "sonoma",
"14-arm64" => "sonoma-arm64",
"12" => "monterey", # TODO: Remove me after a week or two
"13" => "ventura", # TODO: Remove me after a week or two
"14" => "sonoma", # TODO: Remove me after a week or two
"15-x86_64" => "sequoia-rosetta",
"15-arm64" => "sequoia-arm64",
}.freeze

attr_reader :queue
Expand Down
Binary file added src/public/img/runner/15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e96d6c6

Please sign in to comment.