From 28b418e47c47b43c805b5e7a539c74f71ebd5991 Mon Sep 17 00:00:00 2001 From: gg Date: Wed, 14 Jan 2026 09:56:56 -0500 Subject: [PATCH] disable macos runner for now (too slow/times out) --- .github/workflows/build.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5254bb08..4034c64d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,17 +50,26 @@ jobs: build-macos: name: "macOS (brew)" + if: false # disabled for now due to performance reasons (too slow) runs-on: macos-latest + env: + CCACHE_DIR: /Users/runner/Library/Caches/ccache + HOMEBREW_NO_AUTO_UPDATE: 1 steps: - uses: actions/checkout@v4 with: submodules: recursive - name: install dependencies run: | - brew uninstall cmake - brew update - brew install --quiet qt libsodium libzip qrencode unbound cmake boost hidapi openssl expat libunwind-headers protobuf pkgconfig + brew install --quiet qt libsodium libzip qrencode unbound cmake boost hidapi openssl expat protobuf pkg-config ccache ninja + - name: Setup ccache + uses: actions/cache@v4 + with: + path: ${{ env.CCACHE_DIR }} + key: macos-ccache-${{ github.sha }} + restore-keys: | + macos-ccache- - name: build run: | - cmake -S . -B build -DWITH_SCANNER=Off - cmake --build build -j $(nproc) + cmake -G Ninja -S . -B build -DCMAKE_BUILD_TYPE=Release -DWITH_SCANNER=Off -DCMAKE_CXX_COMPILER_LAUNCHER=ccache + cmake --build build -- 2.52.0