Commits
Chih-Hsuan Yen authored de45b68b415
38 38 | # Create macports user |
39 39 | sudo /opt/local/postflight && sudo rm -f /opt/local/postflight |
40 40 | # Install mpbb |
41 41 | git clone --depth 1 https://github.com/macports/mpbb.git ../mpbb |
42 42 | # Install getopt required by mpbb |
43 43 | curl -fsSLO "https://dl.bintray.com/macports-ci-bot/getopt/getopt-v1.1.6.tar.bz2" |
44 44 | sudo tar -xpf "getopt-v1.1.6.tar.bz2" -C / |
45 45 | # Download and run CI runner |
46 46 | curl -fsSLO "https://github.com/macports/mpbot-github/releases/download/v0.0.1/runner" |
47 47 | chmod 0755 runner |
48 - | |
49 - | # Work around broken gen_bridge_metadata / bridgesupportparser.bundle on High Sierra and Mojave |
50 - | # See https://trac.macports.org/ticket/54939 |
51 - | if ! /usr/bin/gen_bridge_metadata --version >/dev/null 2>&1; then |
52 - | sudo ln -s XcodeDefault.xctoolchain "$(xcode-select -p)"/Toolchains/OSX"$(sw_vers -productVersion | cut -d. -f1-2)".xctoolchain |
53 - | fi |