Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vcpkg macos ci] Switch to using our own base boxes, to fix bringing up mac machines #13619

Merged
merged 9 commits into from
Sep 24, 2020

Conversation

strega-nil
Copy link
Contributor

@strega-nil strega-nil commented Sep 19, 2020

Currently, we use ramsey/macos-catalina as our base image, which doesn't have Xcode and such installed. Recently, Apple broke xcode-select --install, which is how we were installing xcode into the VMs. Thus, we need to figure out another way to get xcode onto these machines, and so I've done that by creating a new base box (which is non-public, so there's no concern about licensing, sorry y'all), which has the Xcode Command Line Tools preinstalled.

This also adds instructions for creating a new base box, and changes to the scripts to allow us to use the new base boxes.

Additionally, it removes the brew install from the CI pipeline, since we had trouble with it; all packages that are necessary should be preinstalled by the Vagrantfile.

Additionally, before this is merged, I'd like to turn the instructions for creating a new base box into a script, and additionally add a script for getting the base box onto the machine.

Additionally, as a drive-by, renames VagrantFile -> Vagrantfile, which is the actual capitalization used by vagrant (it worked before by virtue of case-insensitivity).

@strega-nil strega-nil added the category:infrastructure Pertaining to the CI/Testing infrastrucutre label Sep 19, 2020
mecab needed to use an actual ref that wasn't master,
and jxrlib needed a patch for xcode 12 CLTs.

Additionally, this fixes the mecab version to be a date, the date of the last commit,
since `1.0` is not the correct version (mecab doesn't have released versions)
This mostly means fixing errors on implicit-function-declaration,
and removing some Werrors
* alac-decoder
* apr
* argtable2
* arrow
* hyperscan
* mcpp
* minizip
* mosquitto
* stormlib
ports/apr/portfile.cmake Outdated Show resolved Hide resolved
ports/fmilib/0002-include-sys-stat.h-for-mkdir.patch Outdated Show resolved Hide resolved
@ras0219-msft ras0219-msft merged commit 4cbbcbd into microsoft:master Sep 24, 2020
@strega-nil strega-nil deleted the remove-macos-brew-install branch September 30, 2020 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:infrastructure Pertaining to the CI/Testing infrastrucutre
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants