From 802694ec688625cae4fc839245342290d6c12d77 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Fri, 28 Jun 2024 22:29:38 +0200 Subject: [PATCH] build: Silence macOS CI build warnings --- .github/workflows/build.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 13f3fccf1..99771e40c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -76,7 +76,7 @@ jobs: -DIMHEX_REPLACE_DWARF_WITH_PDB=ON \ -DDOTNET_EXECUTABLE="C:/Program Files/dotnet/dotnet.exe" \ .. - + - name: 🛠️ Build run: | cd build @@ -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 @@ -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}} @@ -219,7 +219,7 @@ jobs: -DIMHEX_COMMIT_HASH_LONG="${GITHUB_SHA}" \ -DIMHEX_COMMIT_BRANCH="${GITHUB_REF##*/}" \ .. - + - name: 🛠️ Build run: cd build && ninja install @@ -264,7 +264,7 @@ jobs: uses: actions/checkout@v4 with: submodules: recursive - + - name: 📁 Restore docker /cache uses: actions/cache@v4 with: @@ -346,7 +346,7 @@ jobs: if-no-files-found: error name: macOS DMG arm64 path: ./*.dmg - + # Ubuntu build ubuntu: strategy: @@ -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: | @@ -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: @@ -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: |