Disabled RandomX tests

This commit is contained in:
SChernykh 2023-08-21 20:49:45 +02:00
parent 8f620712ef
commit b8e6aae289
2 changed files with 1 additions and 39 deletions

View file

@ -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 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) make -j$(nproc)
- name: Run RandomX tests
shell: alpine.sh {0}
run: |
cd p2pool/build/external/src/RandomX
./randomx-tests
- name: Build tests - name: Build tests
shell: alpine.sh {0} shell: alpine.sh {0}
run: | 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' 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) make -j$(nproc)
- name: Run RandomX tests
run: |
cd build/external/src/RandomX
./randomx-tests
- name: Build tests - name: Build tests
run: | run: |
cd tests 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 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) make -j$(nproc)
- name: Run RandomX tests
run: |
cd build/external/src/RandomX
./randomx-tests
- name: Build tests - name: Build tests
run: | run: |
cd tests 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 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) 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 - name: Build tests
run: | run: |
cd tests 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 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) make -j$(nproc)
- name: Run RandomX tests
run: |
cd build/external/src/RandomX
./randomx-tests.exe
- name: Build tests - name: Build tests
run: | run: |
cd tests cd tests
@ -427,13 +401,6 @@ jobs:
cmake .. -G "${{ matrix.config.vs }}" -DWITH_RANDOMX=${{ matrix.config.rx }} -DWITH_UPNP=${{ matrix.config.upnp }} 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 & "${{ 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 - name: Build tests
run: | run: |
cd tests cd tests
@ -502,11 +469,6 @@ jobs:
cmake .. -DCMAKE_C_FLAGS='-flto' -DCMAKE_CXX_FLAGS='-flto' -DSTATIC_LIBS=ON cmake .. -DCMAKE_C_FLAGS='-flto' -DCMAKE_CXX_FLAGS='-flto' -DSTATIC_LIBS=ON
make -j3 make -j3
- name: Run RandomX tests
run: |
cd build/external/src/RandomX
./randomx-tests
- name: Build tests - name: Build tests
run: | run: |
cd tests cd tests

@ -1 +1 @@
Subproject commit 0587f3ef829705896501707441f886e8d4dd18e1 Subproject commit 1c59091173503f14eb513f7fded876858ff6e414