Live video on the AT Protocol
1#!/bin/bash
2
3set -euo pipefail
4set -x
5
6# setup environment
7export LANG=en_US.UTF-8
8# echo 'admin' | sudo -S umount "/Volumes/My Shared Files"
9# mount_virtiofs com.apple.virtio-fs.automount ~/build
10mkdir ~/build
11cd ~/build
12source '/Volumes/My Shared Files/signing/mac-codesigning.env'
13git clone '/Volumes/My Shared Files/streamplace'
14eval "$(/opt/homebrew/bin/brew shellenv)"
15brew update --force --quiet
16cd ~/build/streamplace
17brew install ninja go openssl@3 cocoapods git && go version
18sudo gem install --user-install xcpretty
19curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh && bash rustup.sh -y && rm rustup.sh
20export PATH="$PATH:$HOME/.cargo/bin:$(find $HOME/.gem/ruby -type d -name bin -maxdepth 2)"
21export PATH="/opt/homebrew/opt/m4/bin:$PATH"
22brew install python@3.11 node
23python3.11 -m pip install virtualenv
24python3.11 -m virtualenv ~/venv
25source ~/venv/bin/activate
26pip3 install meson
27make node-all-platforms-macos -j16