From b0e74c0b5cda8ab83a36782db05ecc0dd881a77c Mon Sep 17 00:00:00 2001 From: SChernykh Date: Sat, 18 Sep 2021 19:38:46 +0200 Subject: [PATCH] CI: save compiled binaries --- .github/workflows/c-cpp.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 09e93cc..92be580 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -42,6 +42,12 @@ jobs: - name: Run tests run: cd tests/build && ./p2pool_tests + - name: Archive binary + uses: actions/upload-artifact@v2 + with: + name: p2pool-${{ matrix.os }} + path: build/p2pool + build-windows-msys2: runs-on: windows-latest @@ -82,6 +88,12 @@ jobs: cd tests/build ./p2pool_tests.exe + - name: Archive binary + uses: actions/upload-artifact@v2 + with: + name: p2pool-msys2.exe + path: build/p2pool.exe + build-windows-msbuild: runs-on: windows-latest @@ -118,6 +130,12 @@ jobs: cd tests/build/Release ./p2pool_tests.exe + - name: Archive binary + uses: actions/upload-artifact@v2 + with: + name: p2pool-msbuild.exe + path: build/Release/p2pool.exe + build-macos: runs-on: ${{ matrix.os }} @@ -154,3 +172,9 @@ jobs: run: | cd tests/build ./p2pool_tests + + - name: Archive binary + uses: actions/upload-artifact@v2 + with: + name: p2pool-${{ matrix.os }} + path: build/p2pool