File tree Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ packer {
2+ required_plugins {
3+ tart = {
4+ version = " >= 1.12.0"
5+ source = " github.com/cirruslabs/tart"
6+ }
7+ }
8+ }
9+
10+ source "tart-cli" "tart" {
11+ vm_base_name = " ghcr.io/cirruslabs/macos-sonoma-xcode:15.3"
12+ vm_name = " sdk-build-macos"
13+ cpu_count = 4
14+ memory_gb = 8
15+ disk_size_gb = 100
16+ headless = true
17+ ssh_password = " admin"
18+ ssh_username = " admin"
19+ ssh_timeout = " 120s"
20+ }
21+
22+ build {
23+ sources = [" source.tart-cli.tart" ]
24+
25+ # Update Homebrew packages
26+ provisioner "shell" {
27+ inline = [
28+ " source ~/.zprofile" ,
29+ " brew --version" ,
30+ " brew update" ,
31+ " brew upgrade" ,
32+ ]
33+ }
34+
35+ # Install bash
36+ provisioner "shell" {
37+ inline = [
38+ " source ~/.zprofile" ,
39+ " brew install bash" ,
40+ ]
41+ }
42+
43+ # Install base packages (equivalent to GitHub-hosted runners)
44+ provisioner "shell" {
45+ inline = [
46+ " source ~/.zprofile" ,
47+ " brew install cmake jq git-lfs gnu-tar gnupg wget xz" ,
48+ ]
49+ }
50+
51+ # Install additional packages for SDK build
52+ provisioner "shell" {
53+ inline = [
54+ " source ~/.zprofile" ,
55+ " brew install awscli autoconf automake binutils boost ccache coreutils" ,
56+ " brew install dos2unix dtc gawk gnu-sed gperf help2man meson ncurses" ,
57+ " brew install ninja pkg-config [email protected] texinfo" ,
58+ ]
59+ }
60+ }
You can’t perform that action at this time.
0 commit comments