diff --git a/tasks/miner/gpu/ethminer.yml b/tasks/miner/gpu/ethminer.yml index 4ef0490..dbe7e62 100644 --- a/tasks/miner/gpu/ethminer.yml +++ b/tasks/miner/gpu/ethminer.yml @@ -37,28 +37,23 @@ ## Install # - name: Ethminer | Clone Git Repo - shell: 'git clone https://github.com/ethereum-mining/ethminer.git' + shell: 'cd /home/mfn; git clone https://github.com/ethereum-mining/ethminer.git' when: ethminer_install.failed - name: Ethminer | Update Repo's Repos - shell: 'cd ethminer; git submodule update --init --recursive' + shell: 'cd /home/mfn/ethminer; git submodule update --init --recursive' when: ethminer_install.failed - name: Ethminer | Create Build Folder - shell: 'cd ethminer; mkdir -p build' + shell: 'cd /home/mfn/ethminer; mkdir -p build' when: ethminer_install.failed - name: Ethminer | cmake Flags - shell: 'cd ethminer/build; cmake .. -DETHASHCL=ON -DETHASHCUDA=OFF -DAPICORE=ON -DBINKERN=ON -DETHDBUS=ON -DUSE_SYS_OPENCL=ON -ETHASHCPU=ON -DEVBUILD=ON' + shell: 'cd /home/mfn/ethminer/build; cmake .. -DETHASHCL=ON -DETHASHCUDA=OFF -DAPICORE=ON -DBINKERN=ON -DETHDBUS=ON -DUSE_SYS_OPENCL=ON -ETHASHCPU=ON -DEVBUILD=ON' when: ethminer_install.failed - name: Ethminer | cmake Build - shell: 'cd ethminer/build; cmake --build .' - when: ethminer_install.failed - -- name: Ethminer | Kill Current Jobs - shell: 'killall ethminer.sh' - become: true + shell: 'cd /home/mfn/ethminer/build; cmake --build .' when: ethminer_install.failed - name: Ethminer | make install