From f370c93e1fa663c84da08ec118dae9ef9b6e25bc Mon Sep 17 00:00:00 2001 From: SChernykh <15806605+SChernykh@users.noreply.github.com> Date: Mon, 12 Feb 2024 21:57:36 +0100 Subject: [PATCH] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 146e6d9..1617269 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -618,7 +618,7 @@ jobs: build-freebsd: - timeout-minutes: 240 + timeout-minutes: 60 runs-on: ${{ matrix.os.host }} strategy: @@ -627,7 +627,7 @@ jobs: - name: freebsd architecture: x86-64 version: '13.2' - host: ubuntu-22.04 + host: macos-latest steps: - name: Checkout repository @@ -651,31 +651,31 @@ jobs: sudo pkg install -y cmake cd external/src/curl cmake . -DCMAKE_C_FLAGS="-Os -flto" -DBUILD_CURL_EXE=OFF -DBUILD_SHARED_LIBS=OFF -DCURL_DISABLE_INSTALL=ON -DCURL_ENABLE_EXPORT_TARGET=OFF -DCURL_DISABLE_HEADERS_API=ON -DCURL_DISABLE_BINDLOCAL=ON -DBUILD_LIBCURL_DOCS=OFF -DCURL_ZLIB=OFF -DCURL_DISABLE_ALTSVC=ON -DCURL_DISABLE_COOKIES=ON -DCURL_DISABLE_DOH=ON -DCURL_DISABLE_GETOPTIONS=ON -DCURL_DISABLE_HSTS=ON -DCURL_DISABLE_LIBCURL_OPTION=ON -DCURL_DISABLE_MIME=ON -DCURL_DISABLE_NETRC=ON -DCURL_DISABLE_NTLM=ON -DCURL_DISABLE_PARSEDATE=ON -DCURL_DISABLE_PROGRESS_METER=ON -DCURL_DISABLE_SHUFFLE_DNS=ON -DCURL_DISABLE_SOCKETPAIR=ON -DCURL_DISABLE_VERBOSE_STRINGS=ON -DHTTP_ONLY=ON -DCURL_ENABLE_SSL=OFF -DUSE_LIBIDN2=OFF -DCURL_USE_LIBPSL=OFF -DCURL_USE_LIBSSH2=OFF -DENABLE_UNIX_SOCKETS=OFF - make -j2 + make -j3 cd lib && mkdir .libs && cp libcurl.a .libs cd ../../libuv mkdir build cd build cmake .. -DCMAKE_C_FLAGS='-Os -flto' -DBUILD_TESTING=OFF -DLIBUV_BUILD_SHARED=OFF - make -j2 + make -j3 cd ../../libzmq mkdir build cd build cmake .. -DCMAKE_C_FLAGS='-Os -flto' -DCMAKE_CXX_FLAGS='-Os -flto' -DWITH_LIBSODIUM=OFF -DWITH_LIBBSD=OFF -DBUILD_TESTS=OFF -DWITH_DOCS=OFF -DENABLE_DRAFTS=OFF -DBUILD_SHARED=OFF - make -j2 + make -j3 cd ../../../.. mkdir build cd build cmake .. -DCMAKE_C_FLAGS='-flto' -DCMAKE_CXX_FLAGS='-flto' -DSTATIC_LIBS=ON - make -j2 p2pool + make -j3 p2pool ./p2pool --test - make -j2 randomx-tests + make -j3 randomx-tests external/src/RandomX/randomx-tests cd ../tests mkdir build cd build cmake .. -DCMAKE_C_FLAGS='-flto' -DCMAKE_CXX_FLAGS='-flto' -DSTATIC_LIBS=ON - make -j2 + make -j3 gunzip *.gz ./p2pool_tests @@ -687,7 +687,7 @@ jobs: build-openbsd: - timeout-minutes: 240 + timeout-minutes: 90 runs-on: ${{ matrix.os.host }} strategy: @@ -696,7 +696,7 @@ jobs: - name: openbsd architecture: x86-64 version: '7.4' - host: ubuntu-22.04 + host: macos-latest steps: - name: Checkout repository @@ -720,11 +720,11 @@ jobs: sudo pkg_add -I cmake libuv zeromq curl mkdir build && cd build cmake .. - make -j2 p2pool + make -j3 p2pool cd ../tests mkdir build && cd build cmake .. - make -j2 + make -j3 p2pool_tests gunzip *.gz ./p2pool_tests