Skip to content

Commit

Permalink
build: Silence macOS CI build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Jun 28, 2024
1 parent 2aef5e4 commit 802694e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
-DIMHEX_REPLACE_DWARF_WITH_PDB=ON \
-DDOTNET_EXECUTABLE="C:/Program Files/dotnet/dotnet.exe" \
..
- name: 🛠️ Build
run: |
cd build
Expand Down Expand Up @@ -154,14 +154,14 @@ jobs:
- name: ⬇️ Install dependencies
run: |
set -x
brew reinstall python || brew link --overwrite python
brew reinstall python || brew link --overwrite python || true
brew bundle --no-lock --file dist/Brewfile
rm -rf /usr/local/Cellar/capstone
- name: ⬇️ Install classic glfw
if: ${{! matrix.custom_glfw}}
run: |
brew install glfw
brew install glfw || true
- name: ⬇️ Install .NET
uses: actions/setup-dotnet@v4
Expand All @@ -174,7 +174,7 @@ jobs:
with:
repository: glfw/glfw
path: glfw

# GLFW custom build (to allow software rendering)
- name: ⬇️ Patch and install custom glfw
if: ${{matrix.custom_glfw}}
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
-DIMHEX_COMMIT_HASH_LONG="${GITHUB_SHA}" \
-DIMHEX_COMMIT_BRANCH="${GITHUB_REF##*/}" \
..
- name: 🛠️ Build
run: cd build && ninja install

Expand Down Expand Up @@ -264,7 +264,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive

- name: 📁 Restore docker /cache
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -346,7 +346,7 @@ jobs:
if-no-files-found: error
name: macOS DMG arm64
path: ./*.dmg

# Ubuntu build
ubuntu:
strategy:
Expand Down Expand Up @@ -409,9 +409,9 @@ jobs:
-DIMHEX_USE_GTK_FILE_PICKER=ON \
-DDOTNET_EXECUTABLE="dotnet" \
..
- name: 🛠️ Build
run: cd build && DESTDIR=DebDir ninja install
run: cd build && DESTDIR=DebDir ninja install

- name: 📜 Set version variable
run: |
Expand Down Expand Up @@ -446,7 +446,7 @@ jobs:
path: cache
key: appimage-ccache-${{ github.run_id }}
restore-keys: appimage-cache

- name: 🐳 Inject /cache into docker
uses: reproducible-containers/buildkit-cache-dance@v2
with:
Expand Down Expand Up @@ -532,9 +532,9 @@ jobs:
-DIMHEX_ENABLE_LTO=ON \
-DIMHEX_USE_GTK_FILE_PICKER=ON \
..
- name: 🛠️ Build
run: cd build && DESTDIR=installDir ninja install
run: cd build && DESTDIR=installDir ninja install

- name: 📜 Set version variable
run: |
Expand Down

0 comments on commit 802694e

Please sign in to comment.