From fc13c9d41e6e7144f866c5f30e07685181574f78 Mon Sep 17 00:00:00 2001 From: justanwar <42809091+justanwar@users.noreply.github.com> Date: Wed, 15 Nov 2023 01:46:45 +0800 Subject: [PATCH] Fix Github Actions (#1355) * Disable building libconsensus for Windows in CI * setuptools workaround for macOS --- .github/workflows/ci-master.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index 6b2bb8af21..0ddad2d2b2 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -135,7 +135,7 @@ jobs: working-directory: ${{ env.SOURCE_ARTIFACT }} - name: Build Firo run: | - ./configure --disable-jni --enable-elysium --prefix=$(realpath depends/x86_64-w64-mingw32) + ./configure --without-libs --disable-jni --enable-elysium --prefix=$(realpath depends/x86_64-w64-mingw32) make -j$(nproc) working-directory: ${{ env.SOURCE_ARTIFACT }} - name: Prepare Files for Artifact @@ -167,6 +167,9 @@ jobs: run: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer - name: Install Required Packages run: brew install automake coreutils pkg-config + # Workaround for macOS: https://github.com/actions/runner/issues/2958 + - name: Install setuptools + run: sudo -H pip install setuptools - name: Build Dependencies run: make -C depends -j$(sysctl -n hw.activecpu) working-directory: ${{ env.SOURCE_ARTIFACT }}