ci: dont bother installing rosetta 2

This commit is contained in:
Tyler Wilding 2024-11-09 14:08:24 -05:00
parent c60590a626
commit 59ab517b98
2 changed files with 2 additions and 5 deletions

View File

@ -20,11 +20,8 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up ARM64 environment
run: sudo softwareupdate --install-rosetta --agree-to-license
- name: Install Package Dependencies
run: arch -arm64 brew install cmake ninja
run: brew install cmake ninja
- name: Setup sccache
uses: hendrikmuhs/ccache-action@v1.2.14

View File

@ -125,7 +125,7 @@ std::optional<double> get_macos_version() {
}
try {
return std::stod(buffer);
} catch (std::exception e) {
} catch (std::exception& e) {
lg::error("Error occured when attempting to convert sysctl value {} to number", buffer);
return {};
}