From b8e6aae289c1d4e24e82d3a15036d41f10303b53 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Mon, 21 Aug 2023 20:49:45 +0200 Subject: [PATCH] Disabled RandomX tests --- .github/workflows/c-cpp.yml | 38 ------------------------------------- external/src/RandomX | 2 +- 2 files changed, 1 insertion(+), 39 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index e2bc28e..1542ea8 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -73,12 +73,6 @@ jobs: cmake .. -DCMAKE_C_FLAGS='${{ matrix.config.flags }} -Wl,-s -Wl,--gc-sections' -DCMAKE_CXX_FLAGS='${{ matrix.config.flags }} -Wl,-s -Wl,--gc-sections' -DSTATIC_BINARY=ON make -j$(nproc) - - name: Run RandomX tests - shell: alpine.sh {0} - run: | - cd p2pool/build/external/src/RandomX - ./randomx-tests - - name: Build tests shell: alpine.sh {0} run: | @@ -137,11 +131,6 @@ jobs: cmake .. -DCMAKE_C_COMPILER=${{ matrix.config.c }} -DCMAKE_CXX_COMPILER=${{ matrix.config.cpp }} -DCMAKE_C_FLAGS='-flto=2' -DCMAKE_CXX_FLAGS='-flto=2' make -j$(nproc) - - name: Run RandomX tests - run: | - cd build/external/src/RandomX - ./randomx-tests - - name: Build tests run: | cd tests @@ -215,11 +204,6 @@ jobs: cmake .. -DCMAKE_C_FLAGS='${{ matrix.config.flags }} -Wl,-s -Wl,--gc-sections' -DCMAKE_CXX_FLAGS='${{ matrix.config.flags }} -Wl,-s -Wl,--gc-sections' -DSTATIC_LIBS=ON make -j$(nproc) - - name: Run RandomX tests - run: | - cd build/external/src/RandomX - ./randomx-tests - - name: Build tests run: | cd tests @@ -292,11 +276,6 @@ jobs: cmake .. -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ -DCMAKE_STRIP=/usr/bin/aarch64-linux-gnu-strip -DCMAKE_C_FLAGS='${{ matrix.config.flags }} -Wl,-s -Wl,--gc-sections' -DCMAKE_CXX_FLAGS='${{ matrix.config.flags }} -Wl,-s -Wl,--gc-sections' -DSTATIC_LIBS=ON -DARCH_ID=aarch64 make -j$(nproc) - - name: Run RandomX tests - run: | - cd build/external/src/RandomX - qemu-aarch64 -L /usr/aarch64-linux-gnu ./randomx-tests - - name: Build tests run: | cd tests @@ -374,11 +353,6 @@ jobs: cmake .. -G "Unix Makefiles" -DCMAKE_C_COMPILER=${{ matrix.config.c }} -DCMAKE_CXX_COMPILER=${{ matrix.config.cxx }} -DCMAKE_C_FLAGS="${{ matrix.config.flags }} -Wl,-s -Wl,--gc-sections" -DCMAKE_CXX_FLAGS="${{ matrix.config.flags }} -Wl,-s -Wl,--gc-sections" -DSTATIC_LIBS=ON make -j$(nproc) - - name: Run RandomX tests - run: | - cd build/external/src/RandomX - ./randomx-tests.exe - - name: Build tests run: | cd tests @@ -427,13 +401,6 @@ jobs: cmake .. -G "${{ matrix.config.vs }}" -DWITH_RANDOMX=${{ matrix.config.rx }} -DWITH_UPNP=${{ matrix.config.upnp }} & "${{ matrix.config.msbuild }}msbuild" -v:m /m /p:Configuration=Release p2pool.vcxproj - - name: Run RandomX tests - run: | - cd build - & "${{ matrix.config.msbuild }}msbuild" -v:m /m /p:Configuration=Release randomx-tests.vcxproj - cd external/src/RandomX - ./randomx-tests.exe - - name: Build tests run: | cd tests @@ -502,11 +469,6 @@ jobs: cmake .. -DCMAKE_C_FLAGS='-flto' -DCMAKE_CXX_FLAGS='-flto' -DSTATIC_LIBS=ON make -j3 - - name: Run RandomX tests - run: | - cd build/external/src/RandomX - ./randomx-tests - - name: Build tests run: | cd tests diff --git a/external/src/RandomX b/external/src/RandomX index 0587f3e..1c59091 160000 --- a/external/src/RandomX +++ b/external/src/RandomX @@ -1 +1 @@ -Subproject commit 0587f3ef829705896501707441f886e8d4dd18e1 +Subproject commit 1c59091173503f14eb513f7fded876858ff6e414