Updated github actions

This commit is contained in:
SChernykh 2022-10-28 14:32:49 +02:00
parent 65a9574e52
commit 4a8d4ab8d9
5 changed files with 24 additions and 24 deletions

View file

@ -21,7 +21,7 @@ jobs:
sudo apt install -y git build-essential cmake libuv1-dev libzmq3-dev libsodium-dev libpgm-dev libnorm-dev libgss-dev libcurl4-openssl-dev libidn2-0-dev ${{ matrix.config.c }} ${{ matrix.config.cpp }} sudo apt install -y git build-essential cmake libuv1-dev libzmq3-dev libsodium-dev libpgm-dev libnorm-dev libgss-dev libcurl4-openssl-dev libidn2-0-dev ${{ matrix.config.c }} ${{ matrix.config.cpp }}
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: true submodules: true
@ -44,7 +44,7 @@ jobs:
run: cd tests/build && ./p2pool_tests run: cd tests/build && ./p2pool_tests
- name: Archive binary - name: Archive binary
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: p2pool-${{ matrix.config.os }} name: p2pool-${{ matrix.config.os }}
path: build/p2pool path: build/p2pool
@ -62,7 +62,7 @@ jobs:
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100 --slave /usr/bin/g++ g++ /usr/bin/g++-12 --slave /usr/bin/gcov gcov /usr/bin/gcov-12 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100 --slave /usr/bin/g++ g++ /usr/bin/g++-12 --slave /usr/bin/gcov gcov /usr/bin/gcov-12
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: true submodules: true
@ -108,7 +108,7 @@ jobs:
run: cd tests/build && ./p2pool_tests run: cd tests/build && ./p2pool_tests
- name: Archive binary - name: Archive binary
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: p2pool-ubuntu-static-libs name: p2pool-ubuntu-static-libs
path: build/p2pool path: build/p2pool
@ -131,7 +131,7 @@ jobs:
sudo apt install -y git build-essential cmake autoconf gcc-aarch64-linux-gnu g++-aarch64-linux-gnu binutils-aarch64-linux-gnu sudo apt install -y git build-essential cmake autoconf gcc-aarch64-linux-gnu g++-aarch64-linux-gnu binutils-aarch64-linux-gnu
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: true submodules: true
@ -166,7 +166,7 @@ jobs:
make -j$(nproc) make -j$(nproc)
- name: Archive binary - name: Archive binary
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: p2pool-${{ matrix.config.os }}-aarch64 name: p2pool-${{ matrix.config.os }}-aarch64
path: build/p2pool path: build/p2pool
@ -181,7 +181,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
@ -235,7 +235,7 @@ jobs:
./p2pool_tests.exe ./p2pool_tests.exe
- name: Archive binary - name: Archive binary
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: p2pool-msys2.exe name: p2pool-msys2.exe
path: build/p2pool.exe path: build/p2pool.exe
@ -253,7 +253,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
@ -281,7 +281,7 @@ jobs:
./p2pool_tests.exe ./p2pool_tests.exe
- name: Archive binary - name: Archive binary
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: p2pool-msbuild-${{ matrix.config.os }}-randomx-${{ matrix.config.rx }}.exe name: p2pool-msbuild-${{ matrix.config.os }}-randomx-${{ matrix.config.rx }}.exe
path: build/Release/p2pool.exe path: build/Release/p2pool.exe
@ -296,7 +296,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
@ -347,7 +347,7 @@ jobs:
./p2pool_tests ./p2pool_tests
- name: Archive binary - name: Archive binary
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: p2pool-${{ matrix.os }} name: p2pool-${{ matrix.os }}
path: build/p2pool path: build/p2pool

View file

@ -40,7 +40,7 @@ jobs:
sudo apt update && sudo apt install git build-essential cmake libuv1-dev libzmq3-dev libsodium-dev libpgm-dev libnorm-dev libgss-dev libcurl4-openssl-dev libidn2-0-dev sudo apt update && sudo apt install git build-essential cmake libuv1-dev libzmq3-dev libsodium-dev libpgm-dev libnorm-dev libgss-dev libcurl4-openssl-dev libidn2-0-dev
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: true submodules: true

View file

@ -9,7 +9,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: true submodules: true
@ -35,7 +35,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: true submodules: true

View file

@ -26,7 +26,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: true submodules: true
@ -38,7 +38,7 @@ jobs:
# run: cmake --build ${{ env.build }} # run: cmake --build ${{ env.build }}
- name: Initialize MSVC Code Analysis - name: Initialize MSVC Code Analysis
uses: microsoft/msvc-code-analysis-action@1e7491d1428ffa2e8aa70916d0d0309c7ca32baf uses: microsoft/msvc-code-analysis-action@24c285ab36952c9e9182f4b78dfafbac38a7e5ee
# Provide a unique ID to access the sarif output path # Provide a unique ID to access the sarif output path
id: run-analysis id: run-analysis
with: with:
@ -55,7 +55,7 @@ jobs:
# Upload SARIF file as an Artifact to download and view # Upload SARIF file as an Artifact to download and view
- name: Upload SARIF as an Artifact - name: Upload SARIF as an Artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: sarif-file name: sarif-file
path: ${{ steps.run-analysis.outputs.sarif }} path: ${{ steps.run-analysis.outputs.sarif }}

View file

@ -15,7 +15,7 @@ jobs:
sudo apt install -y git build-essential cmake libuv1-dev libzmq3-dev libsodium-dev libpgm-dev libnorm-dev libgss-dev libcurl4-openssl-dev libidn2-0-dev gcc-12 g++-12 sudo apt install -y git build-essential cmake libuv1-dev libzmq3-dev libsodium-dev libpgm-dev libnorm-dev libgss-dev libcurl4-openssl-dev libidn2-0-dev gcc-12 g++-12
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: true submodules: true
@ -33,7 +33,7 @@ jobs:
./p2pool --host p2pmd.xmrvsbeast.com --zmq-port 18084 --wallet 44MnN1f3Eto8DZYUWuE5XZNUtE3vcRzt2j6PzqWpPau34e6Cf4fAxt6X2MBmrm6F9YMEiMNjN6W4Shn4pLcfNAja621jwyg --no-cache --loglevel 6 ./p2pool --host p2pmd.xmrvsbeast.com --zmq-port 18084 --wallet 44MnN1f3Eto8DZYUWuE5XZNUtE3vcRzt2j6PzqWpPau34e6Cf4fAxt6X2MBmrm6F9YMEiMNjN6W4Shn4pLcfNAja621jwyg --no-cache --loglevel 6
- name: Archive p2pool.log - name: Archive p2pool.log
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: p2pool_ubuntu.log name: p2pool_ubuntu.log
path: build/p2pool.log path: build/p2pool.log
@ -44,7 +44,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
@ -65,7 +65,7 @@ jobs:
./p2pool --host p2pmd.xmrvsbeast.com --zmq-port 18084 --wallet 44MnN1f3Eto8DZYUWuE5XZNUtE3vcRzt2j6PzqWpPau34e6Cf4fAxt6X2MBmrm6F9YMEiMNjN6W4Shn4pLcfNAja621jwyg --no-cache --loglevel 6 ./p2pool --host p2pmd.xmrvsbeast.com --zmq-port 18084 --wallet 44MnN1f3Eto8DZYUWuE5XZNUtE3vcRzt2j6PzqWpPau34e6Cf4fAxt6X2MBmrm6F9YMEiMNjN6W4Shn4pLcfNAja621jwyg --no-cache --loglevel 6
- name: Archive p2pool.log - name: Archive p2pool.log
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: p2pool_macos.log name: p2pool_macos.log
path: build/p2pool.log path: build/p2pool.log
@ -76,7 +76,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
@ -97,7 +97,7 @@ jobs:
./p2pool.exe --host p2pmd.xmrvsbeast.com --zmq-port 18084 --wallet 44MnN1f3Eto8DZYUWuE5XZNUtE3vcRzt2j6PzqWpPau34e6Cf4fAxt6X2MBmrm6F9YMEiMNjN6W4Shn4pLcfNAja621jwyg --no-cache --loglevel 6 ./p2pool.exe --host p2pmd.xmrvsbeast.com --zmq-port 18084 --wallet 44MnN1f3Eto8DZYUWuE5XZNUtE3vcRzt2j6PzqWpPau34e6Cf4fAxt6X2MBmrm6F9YMEiMNjN6W4Shn4pLcfNAja621jwyg --no-cache --loglevel 6
- name: Archive p2pool.log - name: Archive p2pool.log
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: p2pool_windows.log name: p2pool_windows.log
path: build/Debug/p2pool.log path: build/Debug/p2pool.log