diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 54bb29b6..493b9994 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -36,11 +36,8 @@ jobs: # yarn install make install-opencl sudo echo /usr/lib/aarch64-linux-gnu/libhwloc.so.15 | xargs -I {} sudo ln -s {} /usr/lib/libhwloc.so - sudo ln -s /usr/lib/aarch64-linux-gnu/libOpenCL.so.1 /usr/lib/libOpenCL.so - # echo "--> Finding libhwloc" - # sudo find / -name "libhwloc*" - # echo "--> Finding libOpenCL" - # sudo find / -name "libOpenCL*" + sudo ln -s /usr/lib/aarch64-linux-gnu/libOpenCL.so /usr/lib/libOpenCL.so + sudo ldconfig - name: Install Rust uses: actions-rs/toolchain@v1 @@ -85,9 +82,6 @@ jobs: - name: Run miner test run: | - sudo echo /usr/lib/aarch64-linux-gnu/libhwloc.so.15 | xargs -I {} sudo ln -s {} /usr/lib/libhwloc.so - sudo ln -s /usr/lib/aarch64-linux-gnu/libOpenCL.so.1 /usr/lib/libOpenCL.so - sudo ldconfig cd testing rustup target add wasm32-unknown-unknown cargo test miner_test