Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test-bot:
strategy:
matrix:
os: [macos-26]
os: [macos-15, macos-26]
runs-on: ${{ matrix.os }}
steps:
- name: Set up Homebrew
Expand Down
8 changes: 3 additions & 5 deletions Formula/cartesi-machine-emulator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ class CartesiMachineEmulator < Formula
url "https://github.com/cartesi/machine-emulator/archive/refs/tags/v0.21.0.tar.gz"
sha256 "44fc83cb08a1907e66ab225ccf421b0fdad3f145be35b9a9ffe561d3563e3eda"
license "LGPL-3.0-only"

bottle do
root_url "https://ghcr.io/v2/cartesi/tap"
sha256 arm64_tahoe: "fd39029fd1ff9b38effb8f80da94bf96fe53e2df81db48b834f518c1b10c5e3e"
end
revision 1

depends_on "boost" => :build
depends_on "llvm" => :build
depends_on "pkg-config" => :build
depends_on "libomp"
depends_on "libslirp"
Expand All @@ -22,6 +19,7 @@ class CartesiMachineEmulator < Formula
end

def install
ENV.llvm_clang # use brew llvm clang
cartesi_prefix = (etc/"cartesi/images")
cartesi_prefix.mkpath
(share/"cartesi-machine").mkpath
Expand Down
5 changes: 1 addition & 4 deletions Formula/cartesi-machine-linux-image.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@ class CartesiMachineLinuxImage < Formula
desc "Kernel image for the Cartesi Machine"
homepage "https://github.com/cartesi/machine-linux-image"

bottle do
root_url "https://ghcr.io/v2/cartesi/tap"
sha256 cellar: :any_skip_relocation, arm64_tahoe: "d5f151c66fe5841e77c41e8e213728f294cc91911867c238ecf31ed1101aef7b"
end
VERSION = "0.21.0".freeze
LINUX_IMAGE = "linux-6.5.13-ctsi-2-v#{VERSION}.bin".freeze
url "https://github.com/cartesi/machine-linux-image/releases/download/v#{VERSION}/#{LINUX_IMAGE}"
sha256 "5c900060da2db2bfa84cd39cd9cd722988c83c42225f3cac55f2d3157e48f32f"
license "GPL-2.0-only"
revision 1

def install
share.install self.class::LINUX_IMAGE
Expand Down
5 changes: 1 addition & 4 deletions Formula/cartesi-machine-rootfs-image.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@ class CartesiMachineRootfsImage < Formula
desc "Rootfs image for the Cartesi Machine"
homepage "https://github.com/cartesi/machine-guest-tools"

bottle do
root_url "https://ghcr.io/v2/cartesi/tap"
sha256 cellar: :any_skip_relocation, arm64_tahoe: "e6369a6525de798c1e63cb42cdbdac2c30d086744b408f063bb6f6e27ba25179"
end
VERSION = "v0.18.0".freeze
ROOTFS_IMAGE = "rootfs-tools.ext2".freeze
url "https://github.com/cartesi/machine-guest-tools/releases/download/#{VERSION}/#{ROOTFS_IMAGE}"
version "0.21.0"
sha256 "6c159937485c99f695021c4f2ea2a57bdadcf4e4bce8e71af5bee3bb9552802e"
license "GPL-2.0-only"
revision 1

def install
share.install self.class::ROOTFS_IMAGE
Expand Down
6 changes: 1 addition & 5 deletions Formula/cartesi-machine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ class CartesiMachine < Formula
url "https://github.com/cartesi/machine-emulator/archive/refs/tags/v0.21.0.tar.gz"
sha256 "44fc83cb08a1907e66ab225ccf421b0fdad3f145be35b9a9ffe561d3563e3eda"
license "LGPL-3.0-only"

bottle do
root_url "https://ghcr.io/v2/cartesi/tap"
sha256 cellar: :any_skip_relocation, arm64_tahoe: "6deb844cb1bc9ff7e03f9b5175de71df51388686db215c44de0076a602d8a93d"
end
revision 1

depends_on "cartesi-machine-emulator"
depends_on "cartesi-machine-linux-image"
Expand Down