mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
Only update brew packages on ARM
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -132,12 +132,15 @@ jobs:
|
||||
- suffix: "-NoGPU"
|
||||
custom_glfw: true
|
||||
target: "x86_64-apple-macos12.7"
|
||||
needs_update: false
|
||||
- suffix: ""
|
||||
custom_glfw: false
|
||||
target: "x86_64-apple-macos12.7"
|
||||
needs_update: false
|
||||
- suffix: "-ARM"
|
||||
custom_glfw: false
|
||||
target: "arm64-apple-macos12.7"
|
||||
needs_update: true
|
||||
|
||||
name: 🍎 macOS 11.0${{matrix.suffix}}
|
||||
|
||||
@@ -165,9 +168,13 @@ jobs:
|
||||
build/CMakeCache.txt
|
||||
key: ${{ runner.os }}-${{ matrix.suffix }}-cmakecache-${{ hashFiles('**/CMakeLists.txt') }}
|
||||
|
||||
- name: ⬇️ Install dependencies
|
||||
- name: ⬇️ Update brew packages
|
||||
if: ${{matrix.needs_update}}
|
||||
run: |
|
||||
brew update
|
||||
|
||||
- name: ⬇️ Install dependencies
|
||||
run: |
|
||||
brew bundle --no-lock --file dist/Brewfile
|
||||
rm -rf /usr/local/Cellar/capstone
|
||||
|
||||
|
||||
Reference in New Issue
Block a user