Skip to content

Commit

Permalink
CI: save compiled binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
SChernykh committed Sep 18, 2021
1 parent 25038ee commit b0e74c0
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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

0 comments on commit b0e74c0

Please sign in to comment.