Skip to content

Commit

Permalink
gh-actions: update
Browse files Browse the repository at this point in the history
  • Loading branch information
wertikalk committed May 9, 2024
1 parent 9bb5de9 commit ee7a170
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit ee7a170

Please sign in to comment.