build: Silence macOS CI build warnings
This commit is contained in:
parent
2aef5e4eef
commit
802694ec68
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
@ -76,7 +76,7 @@ jobs:
|
|||||||
-DIMHEX_REPLACE_DWARF_WITH_PDB=ON \
|
-DIMHEX_REPLACE_DWARF_WITH_PDB=ON \
|
||||||
-DDOTNET_EXECUTABLE="C:/Program Files/dotnet/dotnet.exe" \
|
-DDOTNET_EXECUTABLE="C:/Program Files/dotnet/dotnet.exe" \
|
||||||
..
|
..
|
||||||
|
|
||||||
- name: 🛠️ Build
|
- name: 🛠️ Build
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
@ -154,14 +154,14 @@ jobs:
|
|||||||
- name: ⬇️ Install dependencies
|
- name: ⬇️ Install dependencies
|
||||||
run: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
brew reinstall python || brew link --overwrite python
|
brew reinstall python || brew link --overwrite python || true
|
||||||
brew bundle --no-lock --file dist/Brewfile
|
brew bundle --no-lock --file dist/Brewfile
|
||||||
rm -rf /usr/local/Cellar/capstone
|
rm -rf /usr/local/Cellar/capstone
|
||||||
|
|
||||||
- name: ⬇️ Install classic glfw
|
- name: ⬇️ Install classic glfw
|
||||||
if: ${{! matrix.custom_glfw}}
|
if: ${{! matrix.custom_glfw}}
|
||||||
run: |
|
run: |
|
||||||
brew install glfw
|
brew install glfw || true
|
||||||
|
|
||||||
- name: ⬇️ Install .NET
|
- name: ⬇️ Install .NET
|
||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v4
|
||||||
@ -174,7 +174,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: glfw/glfw
|
repository: glfw/glfw
|
||||||
path: glfw
|
path: glfw
|
||||||
|
|
||||||
# GLFW custom build (to allow software rendering)
|
# GLFW custom build (to allow software rendering)
|
||||||
- name: ⬇️ Patch and install custom glfw
|
- name: ⬇️ Patch and install custom glfw
|
||||||
if: ${{matrix.custom_glfw}}
|
if: ${{matrix.custom_glfw}}
|
||||||
@ -219,7 +219,7 @@ jobs:
|
|||||||
-DIMHEX_COMMIT_HASH_LONG="${GITHUB_SHA}" \
|
-DIMHEX_COMMIT_HASH_LONG="${GITHUB_SHA}" \
|
||||||
-DIMHEX_COMMIT_BRANCH="${GITHUB_REF##*/}" \
|
-DIMHEX_COMMIT_BRANCH="${GITHUB_REF##*/}" \
|
||||||
..
|
..
|
||||||
|
|
||||||
- name: 🛠️ Build
|
- name: 🛠️ Build
|
||||||
run: cd build && ninja install
|
run: cd build && ninja install
|
||||||
|
|
||||||
@ -264,7 +264,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: 📁 Restore docker /cache
|
- name: 📁 Restore docker /cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
@ -346,7 +346,7 @@ jobs:
|
|||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
name: macOS DMG arm64
|
name: macOS DMG arm64
|
||||||
path: ./*.dmg
|
path: ./*.dmg
|
||||||
|
|
||||||
# Ubuntu build
|
# Ubuntu build
|
||||||
ubuntu:
|
ubuntu:
|
||||||
strategy:
|
strategy:
|
||||||
@ -409,9 +409,9 @@ jobs:
|
|||||||
-DIMHEX_USE_GTK_FILE_PICKER=ON \
|
-DIMHEX_USE_GTK_FILE_PICKER=ON \
|
||||||
-DDOTNET_EXECUTABLE="dotnet" \
|
-DDOTNET_EXECUTABLE="dotnet" \
|
||||||
..
|
..
|
||||||
|
|
||||||
- name: 🛠️ Build
|
- name: 🛠️ Build
|
||||||
run: cd build && DESTDIR=DebDir ninja install
|
run: cd build && DESTDIR=DebDir ninja install
|
||||||
|
|
||||||
- name: 📜 Set version variable
|
- name: 📜 Set version variable
|
||||||
run: |
|
run: |
|
||||||
@ -446,7 +446,7 @@ jobs:
|
|||||||
path: cache
|
path: cache
|
||||||
key: appimage-ccache-${{ github.run_id }}
|
key: appimage-ccache-${{ github.run_id }}
|
||||||
restore-keys: appimage-cache
|
restore-keys: appimage-cache
|
||||||
|
|
||||||
- name: 🐳 Inject /cache into docker
|
- name: 🐳 Inject /cache into docker
|
||||||
uses: reproducible-containers/buildkit-cache-dance@v2
|
uses: reproducible-containers/buildkit-cache-dance@v2
|
||||||
with:
|
with:
|
||||||
@ -532,9 +532,9 @@ jobs:
|
|||||||
-DIMHEX_ENABLE_LTO=ON \
|
-DIMHEX_ENABLE_LTO=ON \
|
||||||
-DIMHEX_USE_GTK_FILE_PICKER=ON \
|
-DIMHEX_USE_GTK_FILE_PICKER=ON \
|
||||||
..
|
..
|
||||||
|
|
||||||
- name: 🛠️ Build
|
- name: 🛠️ Build
|
||||||
run: cd build && DESTDIR=installDir ninja install
|
run: cd build && DESTDIR=installDir ninja install
|
||||||
|
|
||||||
- name: 📜 Set version variable
|
- name: 📜 Set version variable
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user